πŸ› οΈInstallations

Install Next Boilerplate, the lifecycle of developing the frontend & backend app in your team.

Download code and change name directory root

npm init next-app project-name --example "https://github.com/ngadiono/next-boilerplate/tree/main"

Install package modules app

npm install
# or
yarn

Run the development server

npm run dev
# or
yarn dev

Open http://localhost:3000 with your browser to see the result. You can start editing the page by modifying pages/index.js. The page auto-updates as you edit the file.

Build production app

npm run build
# or
yarn build

Starting app on production

npm run start
# or
yarn start

Another node scripts

Analyze bundle app

yarn analyze

Starting unit testing

yarn test

Running HTTP server for HTML

yarn html

Last updated

Was this helpful?