2023-10-10 22:39:23 +02:00
|
|
|
from fastapi import FastAPI
|
|
|
|
|
|
|
|
from .routers import users
|
|
|
|
|
2023-10-11 23:45:12 +02:00
|
|
|
|
2023-10-10 22:39:23 +02:00
|
|
|
app = FastAPI()
|
|
|
|
|
|
|
|
app.include_router(users.router)
|
|
|
|
|
|
|
|
@app.get("/")
|
|
|
|
async def root():
|
|
|
|
return {"message": "Hello World !"}
|