
- Set up project structure with FastAPI and SQLite - Create database models for inventory management - Set up SQLAlchemy and Alembic for database migrations - Create initial database migrations - Implement CRUD operations for products, categories, suppliers - Implement stock movement tracking and inventory management - Add authentication and user management - Add API endpoints for all entities - Add health check endpoint - Update README with project information and usage instructions
11 lines
643 B
Python
11 lines
643 B
Python
from fastapi import APIRouter
|
|
|
|
from app.api.api_v1.endpoints import login, users, products, categories, suppliers, stock_movements
|
|
|
|
api_router = APIRouter()
|
|
api_router.include_router(login.router, tags=["login"])
|
|
api_router.include_router(users.router, prefix="/users", tags=["users"])
|
|
api_router.include_router(products.router, prefix="/products", tags=["products"])
|
|
api_router.include_router(categories.router, prefix="/categories", tags=["categories"])
|
|
api_router.include_router(suppliers.router, prefix="/suppliers", tags=["suppliers"])
|
|
api_router.include_router(stock_movements.router, prefix="/stock-movements", tags=["stock-movements"]) |