@@ -40,8 +40,6 @@ STRIPE_TOKEN=sk_text_z&&2DbCJa9d3gZkxFwJdE$&hHbRe47KHxAF%&N#qRVx*zVFG$W
40
40
41
41
# Available Endpoints
42
42
43
- ### User
44
-
45
43
| User Actions | Routes | Http Verb |
46
44
| --------------- | ------------------------- | --------- |
47
45
| Sign In | ` /api/users/signIn ` | Post |
@@ -51,8 +49,6 @@ STRIPE_TOKEN=sk_text_z&&2DbCJa9d3gZkxFwJdE$&hHbRe47KHxAF%&N#qRVx*zVFG$W
51
49
52
50
[ Postman Documentation] ( https://documenter.getpostman.com/view/21643141/2s93sXcaLf#f3eb5112-676b-46c6-89a2-f5dd6b6c0927 )
53
51
54
- ### Products
55
-
56
52
| Products Actions | Routes | Http Verb |
57
53
| -------------------- | --------------------------------- | --------- |
58
54
| Create Product | ` /api/products/create ` | Post |
@@ -65,8 +61,6 @@ STRIPE_TOKEN=sk_text_z&&2DbCJa9d3gZkxFwJdE$&hHbRe47KHxAF%&N#qRVx*zVFG$W
65
61
66
62
[ Postman Documentation] ( https://documenter.getpostman.com/view/21643141/2s93sXcaLf#da18f92d-0285-461d-86d8-af8f93f4b079 )
67
63
68
- ### Cart
69
-
70
64
| Cart Actions | Routes | Http Verb |
71
65
| ------------- | -------------------- | --------- |
72
66
| Create Cart | ` /api/carts/create ` | Post |
@@ -77,8 +71,6 @@ STRIPE_TOKEN=sk_text_z&&2DbCJa9d3gZkxFwJdE$&hHbRe47KHxAF%&N#qRVx*zVFG$W
77
71
78
72
[ Postman Documentation] ( https://documenter.getpostman.com/view/21643141/2s93sXcaLf#30fad45b-31df-4ebc-a672-1a16c89c1267 )
79
73
80
- ### Purchases
81
-
82
74
| Purchases Actions | Routes | Http Verb |
83
75
| --------------------- | ----------------------------------- | --------- |
84
76
| Create Purchase | ` /api/purchases/create ` | Post |
@@ -91,6 +83,22 @@ STRIPE_TOKEN=sk_text_z&&2DbCJa9d3gZkxFwJdE$&hHbRe47KHxAF%&N#qRVx*zVFG$W
91
83
92
84
[ Postman Documentation] ( https://documenter.getpostman.com/view/21643141/2s93sXcaLf#31c36708-d610-4480-8c8a-628bb32dcfde )
93
85
86
+ | Comments Actions | Routes | Http Verb |
87
+ | --------------------- | ---------------------- | --------- |
88
+ | Create Purchase | ` /api/comments/create ` | Post |
89
+ | Payment | ` /api/comments/getAll ` | Get |
90
+ | Get Monthly Purchases | ` /api/comments/delete ` | Delete |
91
+
92
+ [ Postman Documentation] ( https://documenter.getpostman.com/view/21643141/2s93sXcaLf#31c36708-d610-4480-8c8a-628bb32dcfde )
93
+
94
+ | Responses Actions | Routes | Http Verb |
95
+ | --------------------- | ------------------------ | --------- |
96
+ | Create Purchase | ` /api/purchases/create ` | Post |
97
+ | Payment | ` /api/purchases/payment ` | Get |
98
+ | Get Monthly Purchases | ` /api/purchases/monthly ` | Delete |
99
+
100
+ [ Postman Documentation] ( https://documenter.getpostman.com/view/21643141/2s93sXcaLf#31c36708-d610-4480-8c8a-628bb32dcfde )
101
+
94
102
## Tests
95
103
96
104
```
0 commit comments