2026-08-03 21:42:20 +00:00
|
|
|
from fastapi import FastAPI
|
2026-08-04 20:21:34 +00:00
|
|
|
from app.routes.auth import router as auth_router
|
2026-08-03 21:42:20 +00:00
|
|
|
|
2026-08-04 20:27:26 +00:00
|
|
|
app = FastAPI(title="NetMapper API")
|
2026-08-04 20:21:34 +00:00
|
|
|
app.include_router(auth_router)
|
2026-08-03 21:42:20 +00:00
|
|
|
|
2026-08-04 20:27:26 +00:00
|
|
|
@app.get("/health")
|
2026-08-04 20:21:34 +00:00
|
|
|
async def health():
|
2026-08-04 20:27:26 +00:00
|
|
|
return {"status": "ok"}
|