Skip to content

CodementorIO/nextjs-redux-starter

This branch is 1 commit ahead of, 11 commits behind master.

Folders and files

NameName
Last commit message
Last commit date
Oct 28, 2019
Oct 28, 2019
May 30, 2018
Oct 28, 2019
May 29, 2019
Jan 19, 2018
Oct 22, 2017
May 29, 2019
Oct 14, 2019
May 29, 2019
Apr 18, 2019
Mar 12, 2020
Jan 4, 2018
Feb 26, 2020

Repository files navigation

Next.js redux starter

An opinionated Next.js starter kit with Express, Redux, 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
β”œβ”€β”€ package.json
β”œβ”€β”€ pages
β”‚   β”œβ”€β”€ _app.js
β”‚   β”œβ”€β”€ _document.js
β”‚   β”œβ”€β”€ about.js
β”‚   └── index.js
β”œβ”€β”€ routes.js
β”œβ”€β”€ server
β”‚   └── index.js
β”œβ”€β”€ src
β”‚   β”œβ”€β”€ actions
β”‚   β”‚   └── repos.js
β”‚   β”œβ”€β”€ components
β”‚   β”‚   └── SearchResults.js
β”‚   β”œβ”€β”€ config.js
β”‚   β”œβ”€β”€ containers
β”‚   β”‚   └── SearchRepoContainer.js
β”‚   β”œβ”€β”€ libs
β”‚   β”‚   └── github.js
β”‚   β”œβ”€β”€ reducers
β”‚   β”‚   β”œβ”€β”€ index.js
β”‚   β”‚   └── repos.js
β”‚   β”œβ”€β”€ store
β”‚   β”‚   └── createStore.js
β”‚   └── test
β”‚       β”œβ”€β”€ components
β”‚       β”‚   └── SearchResults.test.js
β”‚       └── test-utils.js
└── yarn.lock