import sys
from pathlib import Path
import uvicorn

BASE_DIR = Path(__file__).resolve().parent

sys.path.insert(0, str(BASE_DIR))

if __name__ == "__main__":
    uvicorn.run(
        "app.api.main:app",
        host="127.0.0.1",
        port=8000,
        reload=True
    )
