Skip to content

Commit

Permalink
[Delivers 187584935] Buyer clear cart
Browse files Browse the repository at this point in the history
  • Loading branch information
Fabrice-Dush committed Jun 20, 2024
1 parent 5641570 commit f7b82d0
Show file tree
Hide file tree
Showing 9 changed files with 761 additions and 1,673 deletions.
25 changes: 14 additions & 11 deletions README.md
Original file line number Diff line number Diff line change
Expand Up @@ -50,14 +50,16 @@ Our e-commerce web application server, developed by Team Ninjas, facilitates smo
- Seller get products Endpoint
- User get product Endpoint
- User search products Endpoint
- buyer get specific product Endpoint
- buyer get specific product Endpoint
- seller get specific product Endpoint
- Buyer get carts Endpoint
- Buyer get single cart Endpoint
- Buyer clear carts Endpoint
- Buyer clear cart Endpoint
- Buyer create-update cart Endpoint
- buyer add product to wish list Endpoint
- buyer add product to wish list Endpoint
- buyer delete products from wishlist
- buyer delete product from wishlist
- buyer delete product from wishlist

## TABLE OF API ENDPOINTS SPECIFICATION AND DESCRIPTION

Expand Down Expand Up @@ -90,15 +92,16 @@ Our e-commerce web application server, developed by Team Ninjas, facilitates smo
| 25 | GET | /api/shop/seller-get-products | 200 OK | private | Seller get products |
| 26 | GET | /api/shop/user-get-products | 200 OK | public | User get product |
| 27 | GET | /api/shop/user-search-products | 200 OK | public | User search products |
| 28 | GET | /api/shop/user-get-product/:id | 200 OK | public | Buyer get specific products |
| 29 | GET | /api/shop/seller-get-product/:id | 200 OK | private | seller get specific products |
| 28 | GET | /api/shop/user-get-product/:id | 200 OK | public | Buyer get specific products |
| 29 | GET | /api/shop/seller-get-product/:id | 200 OK | private | seller get specific products |
| 30 | GET | /api/cart/buyer-get-carts | 200 OK | private | Buyer get carts |
| 31 | GET | /api/cart/buyer-get-cart/:cartId | 200 OK | private | Buyer get cart details |
| 32 | POST | /api/cart/create-update-cart | 201 CREATED | private | Buyer create-update cart |
| 33 | POST | /api/shop/buyer-add-product-wishList/:id | 200 OK | private | buyer add product to wish list |
| 34 | delete | /api/shop/delete-whishlist-products | 200 OK | private | buyer delete products from wishlist |
| 35 | delete | /api/shop/delete-whishlist-product:id | 200 OK | private | buyer delete product from wishlist |

| 32 | DELETE | /api/cart/buyer-clear-carts | 200 OK | private | Buyer clear carts |
| 33 | DELETE | /api/cart/buyer-clear-cart/:id | 200 OK | private | Buyer clear cart |
| 34 | POST | /api/cart/create-update-cart | 201 CREATED | private | Buyer create-update cart |
| 35 | POST | /api/shop/buyer-add-product-wishList/:id | 200 OK | private | buyer add product to wish list |
| 36 | delete | /api/shop/delete-whishlist-products | 200 OK | private | buyer delete products from wishlist |
| 37 | delete | /api/shop/delete-whishlist-product:id | 200 OK | private | buyer delete product from wishlist |

## INSTALLATION

Expand Down Expand Up @@ -175,4 +178,4 @@ Our e-commerce web application server, developed by Team Ninjas, facilitates smo
9. Delete the Migration:
```sh
npm run deleteAllTables
```
```
Loading

0 comments on commit f7b82d0

Please sign in to comment.