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:21:34 +00:00
|
|
|
app = FastAPI(title='NetMapper API')
|
|
|
|
|
app.include_router(auth_router)
|
2026-08-03 21:42:20 +00:00
|
|
|
|
2026-08-04 20:21:34 +00:00
|
|
|
@app.get('/health')
|
|
|
|
|
async def health():
|
|
|
|
|
return {'status': 'ok'}
|