rhiokim / .seed-next-app

This's seed project built on top of next.js

Geek Repo:Geek Repo

Github PK Tool:Github PK Tool

.seed-next-app

This's seed project built on top of next.js

Features

Technical Features

production

  • next@latest
  • react@latest
  • redux, redux-thunk
  • next-redux-wrapper
  • express
  • jest, puppeteer

development

  • babel, eslint, flowtype
  • prettier
  • commitizen, husky, validate-commit-message

others

  • universal configuration
  • nprogress with nprogress
  • ssr-caching with lru-cache with node-lru-cache
  • service worker for pre-cache with service-worker
  • gzip compression with compression
  • secure headers with helmet
  • dockerize

Built-in Plugin

  • with-sass with @next/with-sass (zeit/@with-sass)
  • next-bundle-analyzer with @next/next-bundle-analyzer (zeit/@next-bundle-analyzer)
  • withOffline with hanford/next-offline

How to use

Download manually

Download the example or clone the repo:

mkdir my-new-next-app
curl https://codeload.github.com/rhiokim/.seed-next-app/tar.gz/master | tar -xz --strip=1
 -C my-new-next-app

install it and run:

npm install
npm run dev:express
npm run build
npm run start
npm run start:express
npm run static

and then, if you want to use static typing with flow run follow after install flow-typed

flow-typed install

with docker

npm run build          #0
npm run docker:build   #1
npm run docker:run     #2
npm run docker:rm      #3
npm run docker // run all step without 0 step

LICENSE

MIT

About

This's seed project built on top of next.js


Languages

Language:CSS 78.8%Language:JavaScript 21.2%