# Likwid Backend Configuration # Copy this file to .env and configure as needed # Database connection URL DATABASE_URL=postgres://likwid:likwid@localhost:5432/likwid # Server configuration SERVER_HOST=127.0.0.1 SERVER_PORT=3000 # JWT Secret for authentication tokens # IMPORTANT: Change this in production! JWT_SECRET=change-me-in-production # ============================================================================= # DEMO MODE # ============================================================================= # Enable demo mode for public demonstration instances. # When enabled: # - Restricts destructive actions (delete communities, modify instance settings) # - Enables demo accounts (contributor, moderator, observer) with password: demo123 # - Loads seed data with realistic governance history # - Data can be reset via POST /api/demo/reset # # Set to true for demo/showcase instances, false for production DEMO_MODE=false