Ecosyste.ms: Awesome

An open API service indexing awesome lists of open source software.

Awesome Lists | Featured Topics | Projects

https://github.com/preetiraj3697/rest-api-with-node

Rest Api with Node.js mongodb and express.js.
https://github.com/preetiraj3697/rest-api-with-node

cyclic express mogoose mongo mongodb mongodb-atlas mongoose nodejs rest-api

Last synced: about 1 month ago
JSON representation

Rest Api with Node.js mongodb and express.js.

Awesome Lists containing this project

README

        

## REST API

#### Technology use
- Node.js
- Express.js
- Mongodb
- Mongoose
- Dotenv
- Mongodb atlas
- Thunder-client
- Postman
- Cyclic

### link
https://zany-gray-lion-garb.cyclic.app

## Click https://zany-gray-lion-garb.cyclic.app/api/products
All products data are show.
like
```JSON
{
"Products": [
{
"_id": "63b9acef67efac07cf5e9d03",
"name": "iphone10",
"price": 1154,
"featured": false,
"rating": 4,
"createAt": "2023-01-07T17:33:34.794Z",
"company": "apple",
"__v": 0
},
{
"_id": "63b9acef67efac07cf5e9d02",
"name": "iphone",
"price": 154,
"featured": false,
"rating": 4,
"createAt": "2023-01-07T17:33:34.794Z",
"company": "apple",
"__v": 0
},
{
"_id": "63b9acef67efac07cf5e9d07",
"name": "Dell Series",
"price": 1054,
"featured": true,
"rating": 4,
"createAt": "2023-01-07T17:33:34.794Z",
"company": "dell",
"__v": 0
},
{
"_id": "63b9acef67efac07cf5e9d06",
"name": "Nokia 420",
"price": 1954,
"featured": true,
"rating": 4,
"createAt": "2023-01-07T17:33:34.794Z",
"company": "nokia",
"__v": 0
},
{
"_id": "63b9acef67efac07cf5e9d08",
"name": "galaxy w20",
"price": 1654,
"featured": true,
"rating": 4,
"createAt": "2023-01-07T17:33:34.794Z",
"company": "samsung",
"__v": 0
}
],
"nbHits": 5
}
```

## Functionality
1. Sorting by name
2. Sorting by price
3. Searching by anything like name price featured etc.
4. Pagination
5. Registere
6. Login