
This commit includes: - Project structure setup with FastAPI and SQLite - Database models and schemas for inventory management - CRUD operations for all entities - API endpoints for product, category, supplier, and inventory management - User authentication with JWT tokens - Initial database migration - Comprehensive README with setup instructions
12 lines
625 B
Python
12 lines
625 B
Python
from fastapi import APIRouter
|
|
|
|
from app.api.v1.endpoints import login, users, products, categories, suppliers, inventory
|
|
|
|
api_router = APIRouter()
|
|
|
|
api_router.include_router(login.router, tags=["Authentication"])
|
|
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(inventory.router, prefix="/inventory", tags=["Inventory"]) |