
- Setup project structure with FastAPI - Create database models for users, gifts, preferences, and recommendations - Configure SQLite database with SQLAlchemy ORM - Setup Alembic for database migrations - Implement user authentication with JWT - Create API endpoints for users, gifts, preferences, and recommendations - Integrate OpenAI API for gift recommendations - Add comprehensive documentation
11 lines
632 B
Python
11 lines
632 B
Python
from fastapi import APIRouter
|
|
|
|
from app.api.v1.endpoints import users, auth, gifts, preferences, recommendations, health
|
|
|
|
api_router = APIRouter()
|
|
api_router.include_router(health.router, prefix="/health", tags=["health"])
|
|
api_router.include_router(auth.router, prefix="/auth", tags=["auth"])
|
|
api_router.include_router(users.router, prefix="/users", tags=["users"])
|
|
api_router.include_router(gifts.router, prefix="/gifts", tags=["gifts"])
|
|
api_router.include_router(preferences.router, prefix="/preferences", tags=["preferences"])
|
|
api_router.include_router(recommendations.router, prefix="/recommendations", tags=["recommendations"]) |