Skip to content

CodementorIO/nextjs-redux-starter

Folders and files

NameName
Last commit message
Last commit date

Latest commit

Β 
Β 
Β 
Β 
Β 
Β 
Β 
Β 
Β 
Β 
Β 
Β 
Β 
Β 
Β 
Β 
Β 
Β 
Β 
Β 
Β 
Β 
Β 
Β 
Β 
Β 
Β 

Repository files navigation

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