You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
Copy file name to clipboardExpand all lines: README.md
+7-6Lines changed: 7 additions & 6 deletions
Display the source diff
Display the rich diff
Original file line number
Diff line number
Diff line change
@@ -15,7 +15,7 @@ Free Open source REST API built with | Nodejs + Express + Mongodb ⚡️ Made w
15
15
-[Support](#Support)
16
16
-[Feedback](#Feedback)
17
17
-[Run Locally](#Run_Locally)
18
-
-[Deployment](#API_Reference)
18
+
-[API Reference](#API_Reference)
19
19
-[Screenshots](#Screenshots)
20
20
-[Environment Variables](#Environment)
21
21
-[Deployment](#Deployment)
@@ -91,10 +91,12 @@ Free Open source REST API built with | Nodejs + Express + Mongodb ⚡️ Made w
91
91
|`OrderBy`|`string`| default= desc |
92
92
|`OrderBy`|`string`| default= desc |
93
93
94
-
##### example (Paginate - Sort - Filter - Full-text search
95
-
> GET https://saddam-rest-api.herokuapp.com/api/v1/products?page=1&limit=99&sortBy=createdAt&OrderBy=desc&filterBy=category&category=Sports
96
-
> GET https://saddam-rest-api.herokuapp.com/api/v1/products?page=2&limit=99&sortBy=createdAt&OrderBy=desc&filterBy=category&category=Jewelery
97
-
> GET https://saddam-rest-api.herokuapp.com/api/v1/products?page=2&limit=99&sortBy=createdAt&OrderBy=desc&filterBy=category&category=Books&search=nodejs
94
+
#### example (Paginate - Sort - Filter - Full-text search
95
+
```http
96
+
GET https://saddam-rest-api.herokuapp.com/api/v1/products?page=1&limit=99&sortBy=createdAt&OrderBy=desc&filterBy=category&category=Sports
97
+
GET https://saddam-rest-api.herokuapp.com/api/v1/products?page=2&limit=99&sortBy=createdAt&OrderBy=desc&filterBy=category&category=Jewelery
98
+
GET https://saddam-rest-api.herokuapp.com/api/v1/products?page=2&limit=99&sortBy=createdAt&OrderBy=desc&filterBy=category&category=Books&search=nodejs
99
+
```
98
100
99
101
#### Get product
100
102
@@ -109,7 +111,6 @@ Free Open source REST API built with | Nodejs + Express + Mongodb ⚡️ Made w
109
111
110
112
111
113
112
-
113
114
# Environment
114
115
- To run this project, you will need to add the following environment variables to your .env file (check environment.config.js file for more examples)
0 commit comments