Implement backend for blackjack game with Discord authentication, database integration, and WebSocket support
This commit is contained in:
23
.env.example
Normal file
23
.env.example
Normal file
@@ -0,0 +1,23 @@
|
||||
PORT=4000
|
||||
CORS_ORIGIN=*
|
||||
JWT_SECRET=valtoztasd_meg
|
||||
JWT_EXPIRES_IN=7d
|
||||
|
||||
DB_HOST=localhost
|
||||
DB_PORT=3306
|
||||
DB_USER=blackjack
|
||||
DB_PASSWORD=blackjack
|
||||
DB_NAME=blackjack
|
||||
|
||||
DISCORD_CLIENT_ID=ide
|
||||
DISCORD_CLIENT_SECRET=ide
|
||||
DISCORD_REDIRECT_URI=http://localhost:4000/auth/discord/callback
|
||||
DEFAULT_APP_REDIRECT=blackjack://auth
|
||||
|
||||
STRIPE_SECRET_KEY=sk_test_...
|
||||
STRIPE_WEBHOOK_SECRET=whsec_...
|
||||
|
||||
MIN_BET=10
|
||||
MAX_BET=100
|
||||
ROUND_START_DELAY_MS=3000
|
||||
ROUND_RESET_DELAY_MS=5000
|
||||
Reference in New Issue
Block a user