Home

Awesome

Next.js redux starter

An opinionated Next.js starter kit with Express, Redux Toolkit, styled-components, and react-testing-library.

Build Status JavaScript Style Guide Greenkeeper badge

About

Next.js is an awesome and minimalistic framework to make a modern universal react app. However, there're times that we need a bit more features to build a complex SPA. That's why this project is born.

Features

Getting started

git clone https://github.com/CodementorIO/nextjs-redux-starter my-project
cd my-project
yarn install
yarn start

Then open http://localhost:3100/ to see your app.

Deployment

After npm run build finished, run

yarn serve

If you prefer using now, just modify now.json config.

Structure overview

ā”œā”€ā”€ README.md
ā”œā”€ā”€ next.config.js
ā”œā”€ā”€ now.json
ā”œā”€ā”€ package.json
ā”œā”€ā”€ pages
ā”‚Ā Ā  ā”œā”€ā”€ _app.js
ā”‚Ā Ā  ā”œā”€ā”€ _document.js
ā”‚Ā Ā  ā”œā”€ā”€ about.js
ā”‚Ā Ā  ā””ā”€ā”€ index.js
ā”œā”€ā”€ public
ā”‚Ā Ā  ā””ā”€ā”€ static
ā”œā”€ā”€ server
ā”‚Ā Ā  ā””ā”€ā”€ index.js
ā”œā”€ā”€ src
ā”‚Ā Ā  ā”œā”€ā”€ components
ā”‚Ā Ā  ā”œā”€ā”€ config.js
ā”‚Ā Ā  ā”œā”€ā”€ features
ā”‚Ā Ā  ā”œā”€ā”€ libs
ā”‚Ā Ā  ā”œā”€ā”€ store.js
ā”‚Ā Ā  ā”œā”€ā”€ tests
ā”‚Ā Ā  ā”‚Ā Ā  ā”œā”€ā”€ components
ā”‚Ā Ā  ā”‚Ā Ā  ā””ā”€ā”€ test-utils.js
ā”‚Ā Ā  ā””ā”€ā”€ theme.js
ā””ā”€ā”€ yarn.lock