Refactor: public/private split, route fixes, docker ARG support
0Mart00
76d8f10
Fix config validation for optional Paddle settings
0Mart00
a19cdb5
Refactor project to modern src layout structure
0Mart00
d2f5a24
Major changes:
- Moved all Python code to src/wordgame/ package
- Created modular API routes (game, auth, room, slang, paddle, dashboard)
- Added pydantic-settings for configuration management
- Added .env.example for environment configuration
- Added requirements.txt with all dependencies
- Added .gitignore for Python projects
- Added REFACTOR_GUIDE.md with setup instructions
New structure:
- src/wordgame/core/ - Configuration and database
- src/wordgame/api/routes/ - Modular route definitions
- src/wordgame/main.py - FastAPI application entry point
The old root-level Python files are kept for reference but the new src/ structure is now authoritative.