# Server & Runtime PORT=3000 NODE_ENV=development LOG_LEVEL=info API_BASE_URL=http://localhost:3000 # Security & CORS CORS_ORIGINS=http://localhost:3000 RATE_LIMIT_WINDOW=60000 RATE_LIMIT_REQUEST=100 # Database Credentials POSTGRES_USER=postgres POSTGRES_PASSWORD=password POSTGRES_DB=corestack # Database DATABASE_PROVIDER=postgres # postgres | mongodb DATABASE_URL="postgresql://postgres:password@localhost:5432/corestack" MONGODB_URI="mongodb://localhost:27017/corestack" # Authentication & Tokens JWT_SECRET="replace-with-a-long-random-secret-at-least-32-chars" JWT_EXPIRES_IN=15m REFRESH_TOKEN_TTL_SECONDS=604800 SESSION_TTL_SECONDS=2592000 # Cookies REFRESH_COOKIE_NAME=refresh_token REFRESH_COOKIE_SAME_SITE=lax REFRESH_COOKIE_SECURE=false # Email (Resend) RESEND_API_KEY=re_... RESEND_FROM_EMAIL="CoreStack " EMAIL_VERIFICATION_TTL_SECONDS=86400 PASSWORD_RESET_TTL_SECONDS=900