Re-implementing the API

This commit is contained in:
2024-12-19 13:50:31 -05:00
parent 9344979d72
commit 4a18af9014
17 changed files with 486 additions and 152 deletions

5
.env
View File

@@ -1,6 +1,7 @@
RUST_LOG=warn,siren=info
DISCORD_TOKEN=
DISCORD_SECRET=
DATABASE_USER=siren
DATABASE_PASSWORD=CHANGEME # Change this to a secure password
@@ -8,7 +9,9 @@ DATABASE_NAME=siren
DATABASE_HOST=localhost
DATABASE_PORT=5432
SESSION_TTL=1440
API_CALLBACK_URI=http://localhost:3000/api/oauth/callback
API_PORT=3000
API_SESSION_TTL=86400
MINIO_ROOT_USER=siren
MINIO_ROOT_PASSWORD=CHANGEME # Change this to a secure password