connect / app.py
habulaj's picture
Update app.py
7e39815 verified
raw
history blame
329 Bytes
from fastapi import FastAPI
from routes.hello import router as hello_router
from routes.subscription import router as subscription_router
app = FastAPI()
# Incluindo a rota separada
app.include_router(hello_router)
app.include_router(subscription_router)
@app.get("/")
def root():
return {"message": "Welcome to the API!"}