Skip to content

chillicode-dev/next-js-boiler

Repository files navigation

Next.js boilerplate for big and scalable projects

The cure for headaches in development projects on Next.js in Chillicode Production Agency.

Environment

Prerequisites:

  • Node.js v12.x.x+
  • Npm v6.x.x+

Installing dependencies

To initialize project you should install dependencies from package-lock.json file via:

npm ci

Launch development version

To start Next development server:

npm run app:dev

Then open http://localhost:3000.

Launch Storybook development version

To start Storybook development server:

npm run storybook:dev

Then open http://localhost:3001.

Launch both

To start Next.js and Storybook in parallel:

npm run dev

Linters

You can inspect all you code in parallel running:

npm run linters:inspect

If it's possible you can inspect and autofix issues by linters running:

npm run linters:fix