13 lines
220 B
Python
13 lines
220 B
Python
from fastapi import FastAPI
|
|
|
|
from .routers import users, token
|
|
|
|
|
|
app = FastAPI()
|
|
|
|
app.include_router(users.router)
|
|
app.include_router(token.router)
|
|
|
|
@app.get("/")
|
|
async def root():
|
|
return {"message": "Hello World !"} |