simple-flask-api

Get source

git clone https://github.com/abola/simple-flask-api.git
cd simple-flask-api/

Create virtualenv (Option)

virtualenv .venv
source .venv/bin/active

Install dependency and run serve

pip install -r requirements.txt
python src/api-v1.py

test api

curl localhost:3000/api/v1.0/show/version