
- Implemented user authentication with JWT tokens - Created product management endpoints - Added shopping cart functionality - Implemented order management system - Setup database models with SQLAlchemy - Created alembic migrations - Added health check endpoint generated with BackendIM... (backend.im)
10 lines
503 B
Python
10 lines
503 B
Python
from fastapi import APIRouter
|
|
|
|
from app.api.endpoints import users, products, cart, orders, auth
|
|
|
|
api_router = APIRouter()
|
|
api_router.include_router(auth.router, prefix="/auth", 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(cart.router, prefix="/cart", tags=["cart"])
|
|
api_router.include_router(orders.router, prefix="/orders", tags=["orders"]) |