feat: migrate db to postgres

This commit is contained in:
2024-08-09 22:17:09 +07:00
parent 0142224f60
commit 8ff59ba6b3
18 changed files with 462 additions and 215 deletions
+4 -3
View File
@@ -1,14 +1,15 @@
# App
HOST=
PORT=
JWT_SECRET=supersecretkey
# Database
DATABASE_PATH=
DATABASE_PATH=postgres://postgres:[email protected]:5432/github_leaderboard
# Auth
# Github API
GITHUB_CLIENT_ID=
GITHUB_SECRET_KEY=
JWT_SECRET=supersecretkey
GITHUB_DEFAULT_TOKEN=
# Queue Worker
QUEUE_CONCURRENCY=1