/webcast-assistant

A Mithril test working with a mocking Flask API.

Primary LanguageJavaScriptMIT LicenseMIT

Webcast-Assistant

A Mithril test working with a mocking Flask API.

This Webcast-Assistant is a translation from @miguelgrinberg's React version to a Mithril front-end. This is a test, so setting are done to development, it is not intended to be a production App.

Purpose

The goal is to show a clean Mithril code. We have removed the server side and the Service-Worker (front-end) part. We'll have a mocking API server.

Boilerplate

The boilerplate is based in sample-mithril-app which a part of create-mithril-app. npm package

An updated version with JSX support is here

Setup. Mock API

python -m venv venv
source ve/bin/activate
pip install -r requirements
export FLASK_APP=mock_api.py
flask run

Setup. Front-end

In the client folder

yarn
yarn dev