Simple example of API on flask
run make deploy
If browser doesn't open, go to localhost:5000
- switch from sqlite (to postgres)
- switch to proper ids (UUID)
- add seed database
- add migrations (using alembic)
- proper json validation and parsing (with Marshmallow)
- data loading in batches
- proper error handling
- do proper stats with possibility to list all batches per category, list number of products in batches, etc
- split app.py into model, schema, controller
- add tests for each above-mentioned module
- add all actions to history, not only quantity-related (when deleted)
- add more details to swagger doc (with data format, expected responses, etc)
- add automatic actions (delete when quantity 0)