1.0.1 • Published 3 years ago

next-saga-persist-boilerplate v1.0.1

Weekly downloads
-
License
MIT
Repository
github
Last release
3 years ago

A NextJs boilerplate with redux-saga and redux-persist.

NPM

A ready-to-use utility boilerplate to get your project started right away with just one single command. It sets up redux-saga and redux-persist with NextJs and makes it production ready. If you are a NextJs lover and need Redux for your next project this is definately the right boilerplate to start with.

Features :

   

  • NextJs v11
  • React v17
  • React-Redux v7
  • Redux-Saga v1
  • Redux-Persist v6
  • Basic folder structure Ready-to-go.
  • An example Countries API fetched.

Let's get started!

  • Choose a folder to intialize your project - npx next-saga-persist-boilerplate your-app-name && cd your-app-name
  • Start a development server on http://localhost:3000 - npm run dev
  • Build for production - npm run build
  • Linting - npm run lint

Requirements :

  • NodeJs
  • NPM or Yarn package manager

FAQ

What is a boilerplate ?

A boilerplate is a project with generic, maintainable and reusable code, files or content that is intended to be used as a starting point for creating new projects blazing fast without wasting time in setting up the basics each time.

Why Redux-Saga ?

Redux Saga is a middleware library that allows a Redux store to interact with resources outside of itself in an asynchronous way, including making of HTTP requests to external services, accessing the browser storage, or executing any I/O operations. These operations are known as side effects. Redux-Saga helps us to organize and manage these side effects in easier way.

Contributing

Pull requests and stars shall always be welcomed. For bugs and feature requests, please create an issue.

Author

Rishav Raj Kumar

License

Copyright © 2021, Rishav Raj Kumar. Released under the MIT license.