Ecosyste.ms: Awesome

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

Awesome Lists | Featured Topics | Projects

https://github.com/fsojitra/pagination-based-on-node-express-and-ejs-with-mongodb-containing-searching-and-sorting

Pagination using mongoDB, express and ejs with sorting and searching.
https://github.com/fsojitra/pagination-based-on-node-express-and-ejs-with-mongodb-containing-searching-and-sorting

api bootstrap css ejs express expressjs html javascript js json json-api mongodb mongodb-database mongoosejs node-js nodejs page-size paginate pagination paginator

Last synced: about 19 hours ago
JSON representation

Pagination using mongoDB, express and ejs with sorting and searching.

Awesome Lists containing this project

README

        

# Pagination With ejs, node and mongoDB

This code will give you idea to create pagination using ejs and express.js it has sorting and searching with page button previous, next , last and first.
You can add data in first page just click Add button in page that will add dummy data to your local mongoDB database that will display on pagination page .

### Prerequisites

Below noted things you need to install the software

```
- Node.js
- NPM
- MongoDB (In your Local System.)
```

### Installing

Clone or download this repository

```
npm install
```

### Run

```
nodemon server.js
```

Code is Running on

http://localhost:3000/

### Reference

https://evdokimovm.github.io/javascript/nodejs/mongodb/pagination/expressjs/ejs/bootstrap/2017/08/20/create-pagination-with-nodejs-mongodb-express-and-ejs-step-by-step-from-scratch.html

### Thanks :zap: