This commit is contained in:
dderbentsov
2023-07-20 02:10:58 +03:00
commit e69aab6573
10 changed files with 85 additions and 0 deletions

19
src/medical_info/app.py Normal file
View File

@@ -0,0 +1,19 @@
from fastapi import FastAPI
def create_app() -> FastAPI:
app = FastAPI (
title='medical_info',
description='Medical Information Service',
version='1.0'
)
@app.get('/health')
async def health() -> str:
return 'ok'
from medical_info.routers import medical_cards
app.include_router(medical_cards.router)
return app