alecdewitz / nextjs-redux-starter

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

Home Page:https://nextjs-redux-starter.now.sh/

Geek Repo:Geek Repo

Github PK Tool:Github PK Tool

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

About

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

https://nextjs-redux-starter.now.sh/


Languages

Language:JavaScript 100.0%