mirror of
https://github.com/a-mayb3/Kanban_clone_backend.git
synced 2026-03-21 10:05:38 +01:00
14 lines
No EOL
324 B
Python
14 lines
No EOL
324 B
Python
from fastapi import FastAPI, HTTPException, Depends
|
|
|
|
from routers.tasks import router as tasks_router
|
|
from routers.projects import router as projects_router
|
|
|
|
app = FastAPI()
|
|
|
|
app.include_router(tasks_router)
|
|
app.include_router(projects_router)
|
|
|
|
"""ping pong :)"""
|
|
@app.get("/ping")
|
|
def ping():
|
|
return {"message": "pong"} |