Skip to content

fsojitra/Pagination-Based-on-node-express-and-ejs-with-mongoDB-containing-searching-and-sorting

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

16 Commits
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 

Repository files navigation

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 ⚡