@@ -44,72 +44,72 @@ STRIPE_TOKEN=sk_text_z&&2DbCJa9d3gZkxFwJdE$&hHbRe47KHxAF%&N#qRVx*zVFG$W
4444
4545### User
4646
47- | User Actions | Routes | Required | Http Verb |
48- | --------------- | ------------------------- | -------------------------- | --------- |
49- | Sign In | ` /api/users/signIn ` | email , password | Post |
50- | Sign Up | ` /api/users/signUp ` | email, password , password | Post |
51- | User Stats | ` /api/users/stats ` | must by Admin | Get |
52- | Find user by Id | ` /api/users/find/:userId ` | userId | Get |
47+ | User Actions | Routes | Http Verb |
48+ | --------------- | ------------------------- | --------- |
49+ | Sign In | ` /api/users/signIn ` | Post |
50+ | Sign Up | ` /api/users/signUp ` | Post |
51+ | User Stats | ` /api/users/stats ` | Get |
52+ | Find user by Id | ` /api/users/find/:userId ` | Get |
5353
5454[ Postman Documentation] ( )
5555
5656### Products
5757
58- | Products Actions | Routes | Required | Http Verb |
59- | -------------------- | --------------------------------- | -------- | -------- - |
60- | Create Product | ` /api/products/create ` | | Post |
61- | Get All Product | ` /api/products ` | | Get |
62- | Get Product by Tag | ` /api/products/tag ` | | Get |
63- | Get Product By Query | ` /api/products/search ` | | Get |
64- | Get Product By Id | ` /api/products/:productId ` | | Get |
65- | Edit Product Info | ` /api/products/update/:productId ` | | Put |
66- | Hide Product | ` /api/products/hide/:productId ` | | Put |
58+ | Products Actions | Routes | Http Verb |
59+ | -------------------- | --------------------------------- | --------- |
60+ | Create Product | ` /api/products/create ` | Post |
61+ | Get All Product | ` /api/products ` | Get |
62+ | Get Product by Tag | ` /api/products/tag ` | Get |
63+ | Get Product By Query | ` /api/products/search ` | Get |
64+ | Get Product By Id | ` /api/products/:productId ` | Get |
65+ | Edit Product Info | ` /api/products/update/:productId ` | Put |
66+ | Hide Product | ` /api/products/hide/:productId ` | Put |
6767
6868[ Postman Documentation] ( )
6969
7070### Cart
7171
72- | Cart Actions | Routes | Required | Http Verb |
73- | ------------- | -------------------- | -------- | -------- - |
74- | Create Cart | ` /api/carts/create ` | | Post |
75- | Get All Carts | ` /api/carts/getAll ` | | Get |
76- | Get user Cart | ` /api/carts/:userId ` | | Get |
77- | Edit Cart | ` /api/carts/:cartId ` | | Put |
78- | Delete Cart | ` /api/carts/:cartId ` | | Delete |
72+ | Cart Actions | Routes | Http Verb |
73+ | ------------- | -------------------- | --------- |
74+ | Create Cart | ` /api/carts/create ` | Post |
75+ | Get All Carts | ` /api/carts/getAll ` | Get |
76+ | Get user Cart | ` /api/carts/:userId ` | Get |
77+ | Edit Cart | ` /api/carts/:cartId ` | Put |
78+ | Delete Cart | ` /api/carts/:cartId ` | Delete |
7979
8080[ Postman Documentation] ( )
8181
8282### Purchases
8383
84- | Purchases Actions | Routes | Required | Http Verb |
85- | --------------------- | ---------------------------- | -------- | -------- - |
86- | Create Purchase | ` /api/purchases/create ` | | Post |
87- | Payment | ` /api/purchases/payment ` | | Post |
88- | Get Monthly Purchases | ` /api/purchases/monthly ` | | Get |
89- | Get All Purchase | ` /api/purchases/getAll ` | | Get |
90- | Get user Purchase | ` /api/purchases/:userId ` | | Get |
91- | Delete Purchase | ` /api/purchases/:purchaseId ` | | Delete |
92- | Edit Purchase | ` /api/purchases/create ` | | Put |
84+ | Purchases Actions | Routes | Http Verb |
85+ | --------------------- | ---------------------------- | --------- |
86+ | Create Purchase | ` /api/purchases/create ` | Post |
87+ | Payment | ` /api/purchases/payment ` | Post |
88+ | Get Monthly Purchases | ` /api/purchases/monthly ` | Get |
89+ | Get All Purchase | ` /api/purchases/getAll ` | Get |
90+ | Get user Purchase | ` /api/purchases/:userId ` | Get |
91+ | Delete Purchase | ` /api/purchases/:purchaseId ` | Delete |
92+ | Edit Purchase | ` /api/purchases/create ` | Put |
9393
9494[ Postman Documentation] ( )
9595
9696### Comments
9797
98- | Comments Actions | Routes | Required | Http Verb |
99- | ---------------- | ---------------------- | -------- | -------- - |
100- | Create Comment | ` /api/comments/create ` | | Post |
101- | Delete Comment | ` /api/comments/delete ` | | Delete |
102- | Create Comment | ` /api/comments/getAll ` | | Get |
98+ | Comments Actions | Routes | Http Verb |
99+ | ---------------- | ---------------------- | --------- |
100+ | Create Comment | ` /api/comments/create ` | Post |
101+ | Delete Comment | ` /api/comments/delete ` | Delete |
102+ | Create Comment | ` /api/comments/getAll ` | Get |
103103
104104[ Postman Documentation] ( )
105105
106106### Responses
107107
108- | Responses Actions | Routes | Required | Http Verb |
109- | ----------------- | ------------------------------------ | -------- | -------- - |
110- | Create Response | ` /api/responses/create ` | | Post |
111- | Delete Response | ` /api/responses/delete/:responsesId ` | | Delete |
112- | Get All Response | ` /api/responses/getAll ` | | Get |
108+ | Responses Actions | Routes | Http Verb |
109+ | ----------------- | ------------------------------------ | --------- |
110+ | Create Response | ` /api/responses/create ` | Post |
111+ | Delete Response | ` /api/responses/delete/:responsesId ` | Delete |
112+ | Get All Response | ` /api/responses/getAll ` | Get |
113113
114114[ Postman Documentation] ( )
115115
0 commit comments