| from fastapi import FastAPI | |
| from routes.hello import router as hello_router | |
| from routes.subscription import router as subscription_router | |
| from routes.stylist import router as stylist_router | |
| app = FastAPI() | |
| # Incluindo a rota separada | |
| app.include_router(hello_router) | |
| app.include_router(subscription_router) | |
| app.include_router(stylist_router) | |
| def root(): | |
| return {"message": "Welcome to the API!"} |