Best Flask open-source libraries and packages

Flask stockMarketChart

Chart the stock market
Updated 10 months ago

Flask-stockMarketChart

Chart the stock market

Uses Alpha Vantage to get the data.

Originally made as part of FreeCodeCamp's challenge.

Link to live project at stocks.link477.com

Finished stock market chart

Install

Use npm install to install the JavaScript dependencies and either pip or pipenv to install the Python dependencies.

JavaScript Transpile

Use npx prettier . --write to run Prettier to format the code.

Use tsc to transpile the TypeScript into JavaScript.

Use npm run build to combine the JavaScript files into one file using WebPack.

Run Python server

Use the following command to run the Flask server

py -m app

Docker

Build with:

docker build -t stockmarketchart .

Run with:

docker run -d -p 5000:5000 stockmarketchart