| from fastapi import FastAPI | |
| from routers import users, products # Import your routers | |
| app = FastAPI() | |
| # Include routers | |
| app.include_router(users.router, prefix="/users", tags=["Users"]) | |
| app.include_router(products.router, prefix="/products", tags=["Products"]) | |
| # app.include_router(orders.router, prefix="/orders", tags=["Orders"]) | |
| def read_root(): | |
| return {"message": "Welcome to the API"} | |