forked from yaso_meth/mih-project
22 lines
495 B
Python
22 lines
495 B
Python
from fastapi import FastAPI, HTTPException
|
|
from pydantic import BaseModel
|
|
from .routers import docOffices, patients, patients_files, patients_notes
|
|
|
|
app = FastAPI()
|
|
app.include_router(docOffices.router)
|
|
app.include_router(patients.router)
|
|
app.include_router(patients_files.router)
|
|
app.include_router(patients_notes.router)
|
|
|
|
# Check if server is up
|
|
@app.get("/")
|
|
def read_root():
|
|
return serverRunning()
|
|
|
|
|
|
def serverRunning():
|
|
#git test
|
|
return {"Status": "Server is Up and Running"}
|
|
|
|
|