Initial commit of mtgonline project

This commit is contained in:
2026-07-18 04:57:40 +00:00
commit 86c12376f8
1870 changed files with 547994 additions and 0 deletions
+27
View File
@@ -0,0 +1,27 @@
# Application Settings
APP_NAME=Cockatrice Web
APP_VERSION=0.1.0
DEBUG=True
# Database (PostgreSQL)
DATABASE_URL=postgresql+asyncpg://cockatrice_user:cockatrice_password@localhost:5432/cockatrice
# Redis (optional, for caching)
REDIS_URL=redis://localhost:6379/0
# Authentication
JWT_SECRET_KEY=your-secret-key-change-in-production
JWT_ALGORITHM=HS256
ACCESS_TOKEN_EXPIRE_MINUTES=30
REFRESH_TOKEN_EXPIRE_DAYS=7
# CORS
CORS_ORIGINS=["http://localhost:3000","http://localhost:8000"]
# Upload Settings
UPLOAD_DIR=./uploads
MAX_UPLOAD_SIZE=10485760 # 10MB in bytes
# Logging
LOG_LEVEL=INFO
LOG_FORMAT=json