- Switched from psycopg2 to asyncpg for async SQLAlchemy support - Fixed router registration in main.py - removed duplicate prefixes - Added user_data export to routers/__init__.py - Refactored decks router to use DeckManager service layer - Integrated FuzzyCardMatcher into card_router search endpoints - Made WishlistCreate.card_id optional for proper schema validation - Set PostgreSQL password and configured scram-sha-256 auth - Updated alembic.ini to use local PostgreSQL instead of Docker hostname - Created generic_schemas.py for reusable schema patterns - Added test_routers.py and test_schema_validation.py test files - All 6 Alembic migrations applied successfully (37 tables created) - Application running on port 8000 with all services connected
32 lines
673 B
Python
32 lines
673 B
Python
"""
|
|
Router package exports.
|
|
|
|
All routers are mounted in app/main.py.
|
|
This package provides centralized access to all router modules.
|
|
"""
|
|
from app.routers import auth
|
|
from app.routers import users
|
|
from app.routers import decks
|
|
from app.routers import rooms
|
|
from app.routers import games
|
|
from app.routers import admin
|
|
from app.routers import card_router
|
|
from app.routers import interactions
|
|
from app.routers import refresh
|
|
from app.routers import card_import
|
|
from app.routers import user_data
|
|
|
|
__all__ = [
|
|
"auth",
|
|
"users",
|
|
"decks",
|
|
"rooms",
|
|
"games",
|
|
"admin",
|
|
"card_router",
|
|
"interactions",
|
|
"refresh",
|
|
"card_import",
|
|
"user_data",
|
|
]
|