A simple REST api app using Python, a framework called Flask, and a datatype library called Marshmallow. Code is based on this tutorial:
./bootstrap.sh &
curl http://localhost:5000/expenses
curl -X POST -H "Content-Type: application/json" -d '{
"amount": 20,
"description": "lottery ticket"
}' http://localhost:5000/expenses
curl http://localhost:5000/incomes
curl -X POST -H "Content-Type: application/json" -d '{
"amount": 300.0,
"description": "loan payment"
}' http://localhost:5000/incomes
docker build -t cashman .
docker run --name cashman \
-d -p 5000:5000 \
cashman