Overview:
Snacks API is a RESTful API created by Django framework and it is used to create, update, delete and retrieve Snacks.
To use this API:
- Clone the repository
- Instal the dependencies (you can find them in requirements.txt)
- Run the server locally by the command
python manage.py runserver
- Enter one of the following URLs:
- To view (GET) or create (POST) new object: http://127.0.0.1:8000/api/snacks-list/
- To edit (PUT) or delete (DELETE) an existing object: 'http://127.0.0.1:8000/api/< id >