21 lines
337 B
Python
21 lines
337 B
Python
#!/usr/bin/env python3
|
|
"""Entry point for fastapi app
|
|
|
|
NOTE:
|
|
-
|
|
"""
|
|
from app.config import settings
|
|
from typing import Union
|
|
from fastapi import FastAPI
|
|
|
|
app = FastAPI(
|
|
title=settings.PROJECT_NAME,
|
|
openapi_url=f"{settings.API_V1_STR}/openapi.json"
|
|
)
|
|
|
|
@app.get("/")
|
|
def read_root():
|
|
"""
|
|
"""
|
|
return {"Hello": "World"}
|