johnsliao / flask-sqlite3-chartjs-toy

:chart_with_upwards_trend: Flask + sqlite3 + chart.js

Geek Repo:Geek Repo

Github PK Tool:Github PK Tool

Playing around with chart.js, sqlite3, flask

Creates simple line chart using data from sqlite3 database.

How to set up:

  1. Clone repository
  2. Install dependencies pip install -r requirements.txt
  3. python flaskr.py
  4. python populate_db.py
  5. Open browser to http://127.0.0.1:5000/. You should see this:

alt text

About

:chart_with_upwards_trend: Flask + sqlite3 + chart.js

License:MIT License


Languages

Language:Python 53.9%Language:HTML 46.1%