This repository contains code created throughout the "Developing RESTful APIs with Python and Flask" article.
Check it out for more info!
To run this application, you will need Python 3+ and UV installed locally.
./bootstrap.shThen you can issue requests to your API. For example, with curl, you can issue requests like that:
# inserting a new income
curl -X POST -H "Content-Type: application/json" -d '{
"amount": 300.0,
"description": "loan payment"
}' http://localhost:5000/incomes
# listing all incomes
curl http://localhost:5000/incomes