- Move adapter functions from database to models package for better organization
- Standardize naming convention: EntToX instead of EntXToCustom for clarity
- Update game service to use new models package import path
- Improve function naming consistency across all adapter functions
- Maintain backward compatibility for existing database operations
Changes:
- backend/services/game-service/internal/services/game.go: Update imports and function calls
- backend/shared/models/adapters.go: Rename functions and move to models package
- Add comprehensive shared authentication system with JWT middleware
- Implement database client with PostgreSQL/SQLite support
- Create Ent schema definitions for game entities (questions, sessions, attempts)
- Add complete utility package with configuration management
- Set up user service with Fiber web framework and health endpoints
- Configure Docker infrastructure with PostgreSQL and multi-service setup
- Add database initialization scripts with sample data
- Implement comprehensive test coverage across all packages
- Set up proper Go module structure with dependency management
This establishes the complete backend foundation for Know Foolery game platform
with authentication, database persistence, and service architecture ready
for Phase 1A implementation.