nextjs-redux-starter

by CodementorIO

CodementorIO / nextjs-redux-starter

Next.js + Redux + styled-components + Express = πŸ˜‡

232 Stars 54 Forks Last release: Not found 95 Commits 0 Releases

Available items

No Items, yet!

The developer of this repository has not created any items for sale yet. Need a bug fixed? Help with integration? A different license? Create a request here:

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

We use cookies. If you continue to browse the site, you agree to the use of cookies. For more information on our use of cookies please see our Privacy Policy.