Files
ClickerZ/Backend/.env.sample
Tetardtek 91d1616dd7
Some checks failed
CI/CD — Build & Deploy / Build & Deploy (push) Failing after 25s
feat: PKCE auth + CI/CD deploy
- Frontend: PKCE flow (oauth.js, api.js centralized, cookie-based AuthContext)
- Backend: token introspection, cookies httpOnly, refresh endpoint
- Replaced localStorage JWT with httpOnly session cookies
- useSaveSync migrated to cookie auth
- cookie-parser added
- Gitea CI workflow (vps-runner pattern)
2026-03-24 13:01:15 +01:00

23 lines
543 B
Plaintext
Executable File

# .env.sample - Sample Environment Variables
# Application Configuration
APP_PORT=3310
APP_SECRET=YOUR_APP_SECRET_KEY
NODE_ENV=development
# Database Configuration
DB_HOST=localhost
DB_PORT=3306
DB_USER=YOUR_DATABASE_USERNAME
DB_PASSWORD=YOUR_DATABASE_PASSWORD
DB_NAME=YOUR_DATABASE_NAME
# Frontend URL (for CORS configuration)
FRONTEND_URL=http://localhost:3000
# SuperOAuth — service externe d'authentification (introspection, pas de secret JWT)
SUPER_OAUTH_URL=https://superoauth.tetardtek.com
# Cookie signing secret
COOKIE_SECRET=