Skip to content

qvil/next-boilerplate

Repository files navigation

Next Boilerplate

Modern, lightweight, production ready Next.js boilerplate

Features

Folder structure


├── public
│ └── static
│   └── locales
│     └── {locale}
│       └── {namespace}.json
├── src
│ └── __test__
│ └── api
│ └── components
│ └── constants
│ └── libs
│   └── i18n.ts
│ └── pages
│   └── api
│ └── redux
│   └── slices
│   └── reducer.ts
│   └── store.ts
│ └── types
│ └── .gitignore
│ └── package.json
│ └── tsconfig.json
└── README.md

Coding Convention

  • Folder naming: camelCase
  • Components naming: PascalCase

Prerequisites

  • Node.js >= 12.x (Recommended the latest version)
  • (Yarn(Recommended))

Install

yarn
# or
npm install

Development

yarn dev
# or
npm run dev

Build

yarn build
# or
npm run build

Start

yarn start
# or
npm start

🌏 Supported Browser

IE / Edge IE IE / Edge Edge Firefox Firefox Chrome Chrome Safari Safari Opera Opera
>= 11 >= 85 >= 80 >= 84 >= 13 >= 70

LICENSE

MIT