# Mana Core Auth - Development Environment NODE_ENV=development PORT=3001 # Database DATABASE_URL=postgresql://manacore:password@localhost:5432/manacore # Redis REDIS_HOST=localhost REDIS_PORT=6379 REDIS_PASSWORD= # JWT Configuration # Note: JWT signing keys are managed automatically by Better Auth (EdDSA/Ed25519) # Keys are stored in the auth.jwks database table - no manual configuration needed JWT_ACCESS_TOKEN_EXPIRY=15m JWT_REFRESH_TOKEN_EXPIRY=7d JWT_ISSUER=manacore JWT_AUDIENCE=manacore # Stripe (use test keys) STRIPE_SECRET_KEY=sk_test_... STRIPE_PUBLISHABLE_KEY=pk_test_... STRIPE_WEBHOOK_SECRET=whsec_... # CORS CORS_ORIGINS=http://localhost:3000,http://localhost:8081 # Credits CREDITS_SIGNUP_BONUS=150 CREDITS_DAILY_FREE=5 # Rate Limiting RATE_LIMIT_TTL=60 RATE_LIMIT_MAX=100 # Email (Brevo) # Get your API key from: https://app.brevo.com/settings/keys/api # Without this key, emails are logged to console only (dev mode) BREVO_API_KEY= EMAIL_SENDER_ADDRESS=noreply@manacore.ai EMAIL_SENDER_NAME=ManaCore # URLs # BASE_URL: Used by Better Auth for internal callbacks # FRONTEND_URL: Used for password reset and email verification links BASE_URL=http://localhost:3001 FRONTEND_URL=http://localhost:5173