The eMart API consists of five main end points/paths:
Base URL: /api
- /users
- /products
- /categories
- /orders
- /cart
POST - /users/signin
POST - /users/signup
POST - /users/changepassword
GET - /products
GET - /products/:id
GET - /products/search?q=<query>
POST - /products
PUT - /products/:id
DELETE - /products/:id
PATCH - /products/:id
GET - /categories
POST - /categories
PUT - /categories/:id
DELETE - /categories/:id
GET - /orders
GET - /orders/:id
POST - /orders
DELETE - /orders:id
GET - /cart
POST - /cart
POST - /cart/checkout
DELETE - /cart
The website made using this API is: https://emart2shop.netlify.app/