lamtranweb / nextjs-redux-starter

Next.js + Redux + SASS (styled-jsx) + Express = πŸ˜‡

Geek Repo:Geek Repo

Github PK Tool:Github PK Tool

Next.js redux starter

An opinionated Next.js starter kit with Express, Redux, SASS, and Jest.

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.

Structure overview

β”œβ”€β”€ README.md
β”œβ”€β”€ next.config.js
β”œβ”€β”€ package.json
β”œβ”€β”€ pages
β”‚   β”œβ”€β”€ _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
β”‚   β”œβ”€β”€ styles
β”‚   β”‚   β”œβ”€β”€ SearchResults.scss
β”‚   β”‚   └── base.scss
β”‚   └── test
β”‚       β”œβ”€β”€ __mocks__
β”‚       β”‚   └── styleMock.js
β”‚       β”œβ”€β”€ components
β”‚       β”‚   └── SearchResults.test.js
β”‚       └── jest.setup.js
└── yarn.lock

About

Next.js + Redux + SASS (styled-jsx) + Express = πŸ˜‡


Languages

Language:JavaScript 97.9%Language:CSS 2.1%