Private
Public Access
1
0

feat: Adding logging solution + alert for mobile phones

This commit is contained in:
gauvainboiche
2026-03-29 12:23:57 +02:00
parent 4eac0f4415
commit 79cf3ca13e
7 changed files with 383 additions and 198 deletions

19
.env.example Normal file
View File

@@ -0,0 +1,19 @@
# ── Server ───────────────────────────────────────────────────────────────────
PORT=8080
# ── Security ─────────────────────────────────────────────────────────────────
# Generate with: node -e "console.log(require('crypto').randomBytes(48).toString('hex'))"
JWT_SECRET=CHANGE_ME_TO_A_RANDOM_STRING
# ── Game database (PostgreSQL) ────────────────────────────────────────────────
POSTGRES_USER=game
POSTGRES_PASSWORD=CHANGE_ME
POSTGRES_DB=star_wars_grid
# ── Users database (PostgreSQL) ───────────────────────────────────────────────
POSTGRES_USERS_USER=users
POSTGRES_USERS_PASSWORD=CHANGE_ME
POSTGRES_USERS_DB=star_wars_users
# ── CORS ─────────────────────────────────────────────────────────────────────
CORS_ORIGIN=*