initial commit

This commit is contained in:
Daniel Noulet 2026-10-07 15:21:47 +02:00
commit e7987e88a7
70 changed files with 13661 additions and 0 deletions

46
.env.local.example Normal file
View file

@ -0,0 +1,46 @@
# Local development environment variables for go-first
# Copy to .env.local and fill in values
# Server
SERVER_MODE=debug
SERVER_HOST=0.0.0.0
SERVER_PORT=8080
# Database (use local PostgreSQL or Docker)
DATABASE_HOST=localhost
DATABASE_PORT=5432
DATABASE_USER=postgres
DATABASE_PASSWORD=postgres
DATABASE_NAME=go_first_dev
DATABASE_SSL_MODE=disable
# Redis (use local Redis or Docker)
REDIS_HOST=localhost
REDIS_PORT=6379
REDIS_PASSWORD=
REDIS_DB=0
# JWT
JWT_SECRET=local_development_secret_key_change_in_production
JWT_EXPIRES_IN=24
JWT_REFRESH_EXPIRES_IN=168
# CORS
CORS_ALLOWED_ORIGINS=http://localhost:3000,http://localhost:5173,http://127.0.0.1:3000,http://127.0.0.1:5173
# Logging
LOGGING_LEVEL=debug
LOGGING_FORMAT=console
LOGGING_OUTPUT=stdout
# Email (using mock service in development)
EMAIL_SMTP_HOST=
EMAIL_SMTP_PORT=587
EMAIL_USERNAME=
EMAIL_PASSWORD=
EMAIL_FROM_ADDRESS=noreply@localhost
EMAIL_FROM_NAME=URPI Local
# Frontend
FRONTEND_BUILD_PATH=./web/dist
FRONTEND_SPA_FALLBACK=true