Added support for the deletion of a tag from the database.
Why?
These changes fulfill the requirements for the Delete a tag ticket, see ticket #30 for more info.
How?
Added delete_tag function in tag.py module to handle deletion of a tag as well as a do_DELETE method inside the JSONServer class in json-server.py module to handle incoming DELETE requests from the client.
Testing?
using Postman or another similar app, send a delete request to "http://localhost:8088/tags/{the PK id of the tag to be deleted}". If no tags currently exist in your local database for testing, please add at least one then proceed with testing.
What?
Added support for the deletion of a tag from the database.
Why?
These changes fulfill the requirements for the Delete a tag ticket, see ticket #30 for more info.
How?
Added delete_tag function in tag.py module to handle deletion of a tag as well as a do_DELETE method inside the JSONServer class in json-server.py module to handle incoming DELETE requests from the client.
Testing?
using Postman or another similar app, send a delete request to "http://localhost:8088/tags/{the PK id of the tag to be deleted}". If no tags currently exist in your local database for testing, please add at least one then proceed with testing.