very basic orm structure and email support

This commit is contained in:
Micha R. Albert 2025-07-24 16:30:38 -04:00
parent c483e5f555
commit 3f1b735506
Signed by: mra
SSH key fingerprint: SHA256:2JB0fGfy7m2HQXAzvSXXKm7wPTj9Z60MOjFOQGM2Y/E
13 changed files with 1913 additions and 5 deletions

27
.env.example Normal file
View file

@ -0,0 +1,27 @@
# Database Configuration
DATABASE_URL=sqlite:///./carbon_copy.db
# For PostgreSQL, use: postgresql://username:password@localhost/carbon_copy
SMTP_HOST=
SMTP_PORT=
SMTP_USERNAME=
SMTP_PASSWORD=
SMTP_USE_TLS=true
IMAP_HOST=
IMAP_PORT=
IMAP_USERNAME=
IMAP_PASSWORD=
IMAP_USE_SSL=true
# Security
SECRET_KEY=your_secret_key_here_change_this_in_production
ALGORITHM=HS256
ACCESS_TOKEN_EXPIRE_MINUTES=30
# Game Configuration (REQUIRED)
GAME_MASTER_EMAIL=
MAX_PLAYERS_PER_ROOM=10
STARTING_ROOM_ID=1
DEFAULT_HEALTH=100
DEFAULT_ENERGY=100