Skip to content

daveeS987/nextjs-wrapper-redux-toolkit-boilerplate

Repository files navigation

NextJs Boilerplate

Author: Davee Sok

Links and Resources

Overview / Motivation

Setting up a nextjs app with dependencies and boilerplate can be time consuming. This boilerplate will provide the necessary set up for you. It uses redux for state management, next-redux-wrapper to assist with managing state between the client and server, and redux-toolkit to help write redux logic. A basic counter is implemented to show state management with redux. Basic layout and dynamic links are also implemented.

Tools & Dependencies

Getting Started

Feel free to clone down this repo and play around with the code. In order to get this repo to work, the following will need to be done.

1. Clone Repository and install dependencies

git clone https://github.com/daveeS987/nextjs-wrapper-redux-toolkit-boilerplate.git
cd nextjs-wrapper-redux-toolkit-boilerplate
npm install

2. Start the application

To run site locally, use:

npm run dev

To run it in production mode, use:

npm build
npm start

About

A boilerplate to set up nextjs apps that uses next-redux-wrapper, redux, redux-toolkit.

Topics

Resources

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published