flask-sqlite3-chartjs-toy
flask-sqlite3-chartjs-toy copied to clipboard
:chart_with_upwards_trend: Flask + sqlite3 + chart.js
Playing around with chart.js, sqlite3, flask
Creates simple line chart using data from sqlite3 database.
How to set up:
- Clone repository
- Install dependencies
pip install -r requirements.txt
-
python flaskr.py
-
python populate_db.py
- Open browser to
http://127.0.0.1:5000/
. You should see this: