
- Set up project structure with FastAPI - Implement SQLAlchemy models for inventory items and categories - Create database connection with SQLite - Add CRUD operations for inventory management - Implement API endpoints for categories, items, and inventory transactions - Add health check endpoint - Set up Alembic for database migrations - Update README with documentation
8 lines
352 B
Python
8 lines
352 B
Python
from fastapi import APIRouter
|
|
|
|
from app.api.v1.endpoints import categories, items, health
|
|
|
|
api_router = APIRouter()
|
|
api_router.include_router(categories.router, prefix="/categories", tags=["categories"])
|
|
api_router.include_router(items.router, prefix="/items", tags=["items"])
|
|
api_router.include_router(health.router, prefix="/health", tags=["health"]) |