backend/.env.example
creations 320e2cc121
All checks were successful
Code quality checks / biome (push) Successful in 7s
Add guild routes, setup tables, validators, and update environment example
Added routes for guild creation, deletion, joining, leaving, and invites
Set up Cassandra tables for guilds, invites, and members
Added validators for guild input
Updated .env.example with required config values
2025-05-03 13:56:57 -04:00

31 lines
608 B
Text

# Environment
# NODE_ENV=development
HOST=0.0.0.0
PORT=8080
# Redis (Required)
REDIS_URL=redis://localhost:6379
REDIS_TTL=3600 # Time-to-live in seconds (default: 1 hour)
# Cassandra (Required)
CASSANDRA_HOST=localhost
CASSANDRA_PORT=9042
CASSANDRA_DATACENTER=datacenter1
CASSANDRA_CONTACT_POINTS=localhost
CASSANDRA_KEYSPACE=void_db
# Cassandra (Optional)
CASSANDRA_USERNAME=
CASSANDRA_AUTH_ENABLED=false
CASSANDRA_PASSWORD=
# JWT (Required)
JWT_SECRET=your_secret_here
JWT_EXPIRATION=1d
JWT_ISSUER=void
# JWT (Optional)
JWT_ALGORITHM=HS256
# Frontend (Required)
FRONTEND_ORIGIN=http://localhost:3000