add project files

This commit is contained in:
Julien Aldon
2026-01-12 11:17:01 +01:00
parent 38293b1352
commit 4d5b4698c6
35 changed files with 23425 additions and 0 deletions

15
back/secret.py Normal file
View File

@@ -0,0 +1,15 @@
import os
origins = [
os.environ['ORIGIN']
]
host = os.environ['DB_HOST']
user = os.environ['DB_USER']
password = os.environ['DB_PASS']
database = os.environ['DB_NAME']
# openssl rand -hex 32
SECRET_KEY = os.environ['SECRET_KEY']
ALGORITHM = 'HS256'
ACCESS_TOKEN_EXPIRE_MINUTES = 30