improve project structure for api

This commit is contained in:
lilly 2026-05-03 20:57:13 +02:00
commit 7fa9867a38
Signed by: lilly
SSH key fingerprint: SHA256:y9T5GFw2A20WVklhetIxG1+kcg/Ce0shnQmbu1LQ37g
7 changed files with 42 additions and 11 deletions

View file

@ -0,0 +1,8 @@
from dooris_api.app import app
def main():
import uvicorn
config = uvicorn.Config(app, port=8000, log_level="info")
server = uvicorn.Server(config)
server.run()