user model upgrade, rating, notificaiton

This commit is contained in:
2021-08-19 13:02:28 +03:00
parent 5bb4553360
commit 0cb0b85bce
6 changed files with 82 additions and 17 deletions

View File

@@ -3,7 +3,7 @@ from os import environ
PORT = 8080
DB_URL = environ.get("DB_URL") or "sqlite:///database.sqlite3"
DB_URL = environ.get("DB_URL") or "sqlite:///db.sqlite3"
JWT_ALGORITHM = "HS256"
JWT_SECRET_KEY = "8f1bd7696ffb482d8486dfbc6e7d16dd-secret-key"
JWT_LIFE_SPAN = 24 * 60 * 60 # seconds