Features
- now uses SQLAlchemy and therefore supports postgres and other database schemes
- added docker image
- added nix shell support
- use waitress to serve application as a proper production wsgi server
Changes
- commands have slightly changed
- gen => generate
- api => serve
Troubleshooting
SQLAlchemy complains that a value isn't in a DateTime value
Before 17 introduced SQLAlchemy support the sqlite database incorrectly stored the expire dates, to fix this you have to manually run:
sql
update tokens set ex_date=null where ex_date='None';
on your database once, or just delete your current database.