This is a minimal personal API built with FastAPI and prepared for deployment behind Nginx on a VPS.
python -m venv .venv
source .venv/bin/activate
pip install -r requirements.txt
uvicorn main:app --host 127.0.0.1 --port 8001For Windows PowerShell:
python -m venv .venv
.\.venv\Scripts\activate
pip install -r requirements.txt
uvicorn main:app --host 127.0.0.1 --port 8001{
"message": "API is running"
}{
"message": "healthy"
}{
"name": "Oluwagbade Odimayo",
"email": "o.odimayo@gbadedata.com",
"github": "https://github.com/gbadedata"
}