Giter Site home page Giter Site logo

navanathjadhav / generic-pagination Goto Github PK

View Code? Open in Web Editor NEW
10.0 1.0 4.0 1003 KB

Implementation of server side pagination in React with search by creating reusable and generic pagination component without using any third party library

License: MIT License

HTML 8.80% JavaScript 16.42% SCSS 2.39% TypeScript 72.39%
react pagination nodejs reusable-components

generic-pagination's Introduction

Server side Pagination with search in React

This project includes fully customizable server-side pagination component along with search feature without using any third party pagination library.

Stack

  • react
  • typescript
  • nodejs
  • react-bootstrap
  • react-hook-form
  • axios
  • node-sass

Give a Star ⭐

If you liked this project or found it helpful then please give it a star. It will keep motivating me do more work like this! Thanks.

Demo Output

Demo

Outline

  • Pagination supportive API
  • Reusable pagination component
  • Generic pager service for calculating pager data
  • Parent component containing table for consuming pagination component

Share & Care

If you think this project is helpful share it on Twitter

Read More

View detailed article on Ever Blogs: 3 Simple steps to add pagination in React | Ever Blogs
Please visit Ever Blogs to read interesting blogs on other Technologies.

Available Scripts

In the project directory, you can run:

yarn start

Runs the app in the development mode.
Open http://localhost:3000 to view it in the browser.

The page will reload if you make edits.
You will also see any lint errors in the console.

yarn server:start

Runs the Node server for Mock API on [http://localhost:4000]

Note: Make sure you have node installed in your computer

yarn test

Launches the test runner in the interactive watch mode.
See the section about running tests for more information.

yarn build

Builds the app for production to the build folder.
It correctly bundles React in production mode and optimizes the build for the best performance.

The build is minified and the filenames include the hashes.
Your app is ready to be deployed!

generic-pagination's People

Contributors

navanathjadhav avatar

Stargazers

 avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar

Watchers

 avatar

Recommend Projects

  • React photo React

    A declarative, efficient, and flexible JavaScript library for building user interfaces.

  • Vue.js photo Vue.js

    🖖 Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.

  • Typescript photo Typescript

    TypeScript is a superset of JavaScript that compiles to clean JavaScript output.

  • TensorFlow photo TensorFlow

    An Open Source Machine Learning Framework for Everyone

  • Django photo Django

    The Web framework for perfectionists with deadlines.

  • D3 photo D3

    Bring data to life with SVG, Canvas and HTML. 📊📈🎉

Recommend Topics

  • javascript

    JavaScript (JS) is a lightweight interpreted programming language with first-class functions.

  • web

    Some thing interesting about web. New door for the world.

  • server

    A server is a program made to process requests and deliver data to clients.

  • Machine learning

    Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.

  • Game

    Some thing interesting about game, make everyone happy.

Recommend Org

  • Facebook photo Facebook

    We are working to build community through open source technology. NB: members must have two-factor auth.

  • Microsoft photo Microsoft

    Open source projects and samples from Microsoft.

  • Google photo Google

    Google ❤️ Open Source for everyone.

  • D3 photo D3

    Data-Driven Documents codes.