Flask Plotly Examples
These instructions will get you a copy of the project up and running on your local machine for development and testing purposes.
- pipenv installed globally
- npm and yarn installed globally
Build your python environment pipenv install
Build your javascript env, cd frontend
install packages.
I root directory add a .env
file with the following,
FLASK_ENV='development'
FLASK_APP='backend.app'
- Start your flask server up,
pipenv run flask run
. - Start your js dev server up,
yarn serve
. - Navigate to
http://localhost:8080/
, or whatever portyarn serve
uses.
- Flask - Flask web framework
- Flask-restplus - Flask-restplus for Api's
- Numpy - Generating Data
- Vue - Front end
- Axios - Consuming backend API's
- Plotly - Creating plots
- Vue-Plotly - Vue wrapper for plotly