Skip to content

yrfang/nextjs-starter

Folders and files

NameName
Last commit message
Last commit date

Latest commit

Β 

History

16 Commits
Β 
Β 
Β 
Β 
Β 
Β 
Β 
Β 
Β 
Β 
Β 
Β 
Β 
Β 
Β 
Β 
Β 
Β 
Β 
Β 
Β 
Β 

Repository files navigation

nextjs-starter

A customized Next.js starter kit with Express, Redux, Redux-Saga and SCSS.

About

Next.js is a lightweight framework for static and server‑rendered applications. However, it takes a little time to set up the environment for some features we want. As a result, the boilerplate is here for quick build the project in the beginning.

Features

Getting started

git clone https://github.com/yrfang/nextjs-starter
cd nextjs-starter
yarn install
yarn start

Then open http://localhost:3200 to view your app.

Structure overview

β”œβ”€β”€ README.md
β”œβ”€β”€ next.config.js
β”œβ”€β”€ postcss.config.js
β”œβ”€β”€ nodemon.json
β”œβ”€β”€ package.json
β”œβ”€β”€ babelrc
β”œβ”€β”€ pages
β”‚   β”œβ”€β”€ _app.js
β”‚   β”œβ”€β”€ _document.js
β”‚   β”œβ”€β”€ about.js
β”‚   └── index.js
β”œβ”€β”€ server
β”‚   └── index.js
β”‚   └── routes.js
β”œβ”€β”€ src
β”‚   β”œβ”€β”€ actions
β”‚   β”œβ”€β”€ api
β”‚   β”œβ”€β”€ components
β”‚   β”‚   └── Layout
β”‚   β”œβ”€β”€ constants
β”‚   β”‚   └── initialState.js
β”‚   β”‚   └── types.js
β”‚   β”œβ”€β”€ reducers
β”‚   β”œβ”€β”€ sagas
β”‚   β”œβ”€β”€ stores
β”‚   β”‚   └── createStore.js
β”‚   β”œβ”€β”€ styles
└── yarn.lock

To Do

  • raw-loader for CSS set up
  • unit test environment
  • lint environmnet and its rules
  • dynamic routing for server
  • storybook

Reference

Next.js

About

Next.js + Redux + Redux-Saga + Immutable + SCSS + Express = 😎

Resources

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published