This is my implementation of a vending machine based on the specifications given.
I made a few assumptions regarding the following:
1. The id in the inventory/:id route needed to be an integer
2. The "# of items vended" was an accumulation of all items vended and not the number of items per transaction (which is constrained to 1).
- run git clone https://github.com/Dem-Eat-Rice/vend-o-matic.git
- run pip install django && djangorestframework
- run python manage.py makemigrations
- run python manage.py migrate
- run python manage.py createsuperuser
- run python manage.py runserver