Base Next JS config with Redux
- Clone this repo using
git clone https://github.com/whitedwarf2000/nextjs-redux.git <YOUR_PROJECT_NAME>
- Move to the appropriate directory:
cd <YOUR_PROJECT_NAME>
. - Run
yarn
ornpm install
to install dependencies.
These scripts refer to the different stages of developing an application:
dev:desktop
- Runsnext
which starts Next.js in development desktop modedev:mobile
- Runsnext
which starts Next.js in development mobile modebuild:desktop
- Runsnext
build which builds the application desktop mode for production usagebuild:mobile
- Runsnext
build which builds the application mobile for production usagestart
- Runsnext
start which starts a Next.js production servertest
- Runs all testing scriptlint:fix
- Runs lint fix script
- underscore: https://github.com/you-dont-need/You-Dont-Need-Lodash-Underscore
- redux-thunk: https://github.com/reduxjs/redux-thunk
- redux: A predictable state container for JavaScript apps.
- reselect: Simple selector library for Redux (and others) inspired by getters in NuclearJS, subscriptions in re-frame and this proposal from speedskater.
- immer: https://immerjs.github.io/immer/docs/introduction
- @testing-library/react: Simple and complete React DOM testing utilities that encourage good testing practices.
- styled-component: https://styled-components.com/