init
This commit is contained in:
commit
0dd23f6de0
33 changed files with 881 additions and 0 deletions
17
src/api.py
Normal file
17
src/api.py
Normal file
|
|
@ -0,0 +1,17 @@
|
|||
"""
|
||||
This module hooks the routers for the main endpoints into a single router for importing to the app.
|
||||
"""
|
||||
from fastapi import APIRouter
|
||||
|
||||
from src.auth.router import router as auth_router
|
||||
|
||||
|
||||
api_router = APIRouter()
|
||||
|
||||
api_router.include_router(auth_router)
|
||||
|
||||
|
||||
@api_router.get("/healthcheck", include_in_schema=False)
|
||||
def healthcheck():
|
||||
"""Simple health check endpoint."""
|
||||
return {"status": "ok"}
|
||||
Loading…
Add table
Add a link
Reference in a new issue