mirror of
https://github.com/Hestia-Homes/Model.git
synced 2026-06-08 11:17:27 +00:00
setup minimal template application
This commit is contained in:
parent
7e9ffedbe6
commit
b51c19716a
3 changed files with 28 additions and 0 deletions
3
backend/README.md
Normal file
3
backend/README.md
Normal file
|
|
@ -0,0 +1,3 @@
|
|||
# Backend
|
||||
This is the api service that will supply the frontend with the insights that are driven by the machine
|
||||
learning and data modelling services.
|
||||
8
backend/main.py
Normal file
8
backend/main.py
Normal file
|
|
@ -0,0 +1,8 @@
|
|||
from fastapi import FastAPI
|
||||
|
||||
app = FastAPI()
|
||||
|
||||
|
||||
@app.get("/")
|
||||
async def root():
|
||||
return {"message": "Hello World"}
|
||||
17
backend/requirements.txt
Normal file
17
backend/requirements.txt
Normal file
|
|
@ -0,0 +1,17 @@
|
|||
anyio==3.7.1
|
||||
click==8.1.3
|
||||
exceptiongroup==1.1.2
|
||||
fastapi==0.99.1
|
||||
h11==0.14.0
|
||||
httptools==0.5.0
|
||||
idna==3.4
|
||||
pydantic==1.10.11
|
||||
python-dotenv==1.0.0
|
||||
PyYAML==6.0
|
||||
sniffio==1.3.0
|
||||
starlette==0.27.0
|
||||
typing_extensions==4.7.1
|
||||
uvicorn==0.22.0
|
||||
uvloop==0.17.0
|
||||
watchfiles==0.19.0
|
||||
websockets==11.0.3
|
||||
Loading…
Add table
Reference in a new issue