Ecosyste.ms: Awesome
An open API service indexing awesome lists of open source software.
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: 3 months ago
JSON representation
Pagination using mongoDB, express and ejs with sorting and searching.
- Host: GitHub
- URL: https://github.com/fsojitra/pagination-based-on-node-express-and-ejs-with-mongodb-containing-searching-and-sorting
- Owner: fsojitra
- License: mit
- Created: 2017-12-26T08:27:03.000Z (about 7 years ago)
- Default Branch: master
- Last Pushed: 2021-07-04T05:36:33.000Z (over 3 years ago)
- Last Synced: 2024-10-10T05:41:10.276Z (3 months ago)
- Topics: api, bootstrap, css, ejs, express, expressjs, html, javascript, js, json, json-api, mongodb, mongodb-database, mongoosejs, node-js, nodejs, page-size, paginate, pagination, paginator
- Language: EJS
- Homepage:
- Size: 30.3 KB
- Stars: 13
- Watchers: 0
- Forks: 6
- Open Issues: 0
-
Metadata Files:
- Readme: README.md
- License: LICENSE
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: