16 lines
334 B
Python
16 lines
334 B
Python
"""
|
|
Google Vein - FastAPI app.
|
|
"""
|
|
|
|
from fastapi import FastAPI
|
|
from api.routes import router
|
|
from core.config import settings
|
|
|
|
app = FastAPI(title="Google Vein", version="0.1.0")
|
|
app.include_router(router, prefix="/google")
|
|
|
|
|
|
if __name__ == "__main__":
|
|
import uvicorn
|
|
uvicorn.run(app, host="0.0.0.0", port=settings.api_port)
|