Demo available HERE.
WARNING: If you feel that this code smells, it definitely smells)
BACKEND: Flask, psycopg2 (raw SQL).
FRONTEND: HTML, CSS, Javascript (vanilla).
To install dependencies run (preferably in virtual environment):
pip install -r requirements.txt
Set up environment
export FLASK_APP=app.py
or for Windows users
set FLASK_APP=app.py
Create database for job records
flask initdb
flask run
This will start application at http://127.0.0.1:5000/
- See LICENSE file
- e-mail: tuoris.dev@gmail.com
Initial constraints.
That was the simplest way to add persistent database for heroku.
Don't waste your time.