refactor and set up authentication
This commit is contained in:
16
app/main.py
Normal file
16
app/main.py
Normal file
@@ -0,0 +1,16 @@
|
||||
from fastapi import FastAPI
|
||||
from app.routers import admin, user
|
||||
|
||||
app = FastAPI()
|
||||
|
||||
app.include_router(admin.router)
|
||||
app.include_router(user.router)
|
||||
|
||||
|
||||
@app.get("/")
|
||||
def root():
|
||||
return {"message": "Hello World"}
|
||||
|
||||
|
||||
# 1PMy17eraogNUz436w3aZKxyij39G1didaN02Ka_-45Q
|
||||
# 71046222
|
||||
Reference in New Issue
Block a user