18 lines
335 B
Python

from fastapi import FastAPI
from .routes.cart_routes import router as cart_router
from .routes.user_routes import router as user_router
app = FastAPI(
title="SWAG Shop",
version="0.0.1"
)
app.include_router(user_router)
app.include_router(cart_router)
@app.get("/")
async def root():
return {"message": "Hello World"}