feat: Adding logging solution + alert for mobile phones
This commit is contained in:
19
.env.example
Normal file
19
.env.example
Normal 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=*
|
||||
Reference in New Issue
Block a user