-
Notifications
You must be signed in to change notification settings - Fork 0
/
Copy pathreadme.txt
51 lines (22 loc) · 1.14 KB
/
readme.txt
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
39
40
41
42
43
44
45
46
47
48
49
---------------- products routes ---------------------
1. post http://localhost:8080/product/add
2. get http://localhost:8080/product/searchByCategory/:cat
3. get http://localhost:8080/product/getall
4. post http://localhost:8080/product/update/:pid
5. post http://localhost:8080/product/addreview:pid
6. get http://localhost:8080/product/getproduct/:pid
7. delete http://localhost:8080/product/deleteproduct:pid
------------------ user routes ---------------------------
1. get http://localhost:8080/user/getalluser
2. post http://localhost:8080/user/create
3. post http://localhost:8080/user/login
5. post http://localhost:8080/user/resetpasswordbyemail
6. post http://localhost:8080/user/resetpasswordbyphone
8. get http://localhost:8080/user/addtocart/:id-:pid
9. get http://localhost:8080/user/addtowishlist/:id-:pid
10. get http://localhost:8080/user/addtoorder/:id-:pid
11. delete http://localhost:8080/user/addtoorder:id-:pid
--------------------- order routes --------------------------
11. post http://localhost:8080/order/makeOrder
12 post http://localhost:8080/order/updateorder/:oid
13. get http://localhost:8080/order/getall