Skip to content

gbadedata/stage1-personal-api

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

3 Commits
 
 
 
 
 
 
 
 

Repository files navigation

Stage 1 Personal API

This is a minimal personal API built with FastAPI and prepared for deployment behind Nginx on a VPS.

Run locally

python -m venv .venv
source .venv/bin/activate
pip install -r requirements.txt
uvicorn main:app --host 127.0.0.1 --port 8001

For Windows PowerShell:

python -m venv .venv
.\.venv\Scripts\activate
pip install -r requirements.txt
uvicorn main:app --host 127.0.0.1 --port 8001

Endpoints

GET /

{
  "message": "API is running"
}

GET /health

{
  "message": "healthy"
}

GET /me

{
  "name": "Oluwagbade Odimayo",
  "email": "o.odimayo@gbadedata.com",
  "github": "https://github.com/gbadedata"
}

Live URL

http://13.43.217.25

About

Minimal personal API built with FastAPI and deployed behind Nginx on a VPS

Topics

Resources

Stars

Watchers

Forks

Releases

Packages

Contributors

Languages