Flask CRUD API Application with SQLAlchemy to model books retrieval, deletion & updating
Model
Book:
- id
- name
- author
- publisher
API endpoints
POST
: /books - Adds a book
GET
: /books - Returns all books
GET
: /books/id - Returns a book for the corresponding ID
PUT
: /books - Updates a book for the corresponding ID
DELETE
: /books/id - Deletes a book for the corresponding ID