Initial commit

This commit is contained in:
openSIRP
2022-09-07 17:12:49 +02:00
commit b19a1150ec
14 changed files with 506 additions and 0 deletions

7
config.py Normal file
View File

@@ -0,0 +1,7 @@
from datetime import timedelta
DEBUG = True
JWT_SECRET_KEY = "SECRET"
SQLALCHEMY_DATABASE_URI='sqlite:///test.db'
JWT_ACCESS_TOKEN_EXPIRES = timedelta(hours=24)
JWT_REFRESH_TOKEN_EXPIRES = timedelta(days=30)