
- Create project structure and dependencies - Set up SQLAlchemy models for anime, genres, and their relationships - Implement CRUD operations for all models - Set up FastAPI endpoints for managing anime and genres - Add health check endpoint - Configure Alembic for database migrations - Add data seeding capability - Update README with project information
8 lines
347 B
Python
8 lines
347 B
Python
from fastapi import APIRouter
|
|
|
|
from app.api.endpoints import anime, genres, health
|
|
|
|
api_router = APIRouter()
|
|
api_router.include_router(health.router, prefix="/health", tags=["health"])
|
|
api_router.include_router(anime.router, prefix="/api/v1/anime", tags=["anime"])
|
|
api_router.include_router(genres.router, prefix="/api/v1/genres", tags=["genres"]) |