Tools:
- NodeJS
- Express
- Mongoose
- MongoDB
- AWS S3
- JWT
Here are some examples to test each function separately on postman.
Method:
POST
Request URL:
localhost:8000/books/
Choose Body->form-data and fill out the fields as below
Method:
GET
Request URL:
localhost:8000/books/
Method:
PATCH
Request URL:
localhost:8000/books/<book-id>
Method:
DELETE
Request URL:
localhost:8000/books/<book-id>
Method:
POST
Request URL:
localhost:8000/users/register
Choose Body->form-data and fill out the fields as below
Method:
POST
Request URL:
localhost:8000/users/login
Choose Body->form-data and fill out the fields as below
Creations and modifications are reflected in the database as shown
and files are stored and updated in a could storage as well