
- Set up project structure and dependencies - Create database models for users, posts, comments, and tags - Set up Alembic for database migrations - Implement user authentication (register, login) - Create CRUD endpoints for blog posts, comments, and tags - Add health check endpoint - Set up proper error handling - Update README with project details and setup instructions
11 lines
493 B
Python
11 lines
493 B
Python
from fastapi import APIRouter
|
|
|
|
from app.api.v1.endpoints import auth, users, posts, comments, tags
|
|
|
|
api_router = APIRouter()
|
|
|
|
api_router.include_router(auth.router, prefix="/auth", tags=["auth"])
|
|
api_router.include_router(users.router, prefix="/users", tags=["users"])
|
|
api_router.include_router(posts.router, prefix="/posts", tags=["posts"])
|
|
api_router.include_router(comments.router, prefix="/comments", tags=["comments"])
|
|
api_router.include_router(tags.router, prefix="/tags", tags=["tags"]) |