Skip to content

Nextjs Boilerplate with common configuration and testing.

Notifications You must be signed in to change notification settings

jjordy/next-boilerplate

Repository files navigation

Nextjs Boilerplate

This is a nextjs app pre setup with Typescript, Sentry, Jest, Cypress, Tailwind CSS and a few common hooks

Getting Started

NPM

git clone https://github.com/jjordy/next-boilerplate.git my-app
rm -rf .git
npm install && npm run dev

Yarn

git clone https://github.com/jjordy/next-boilerplate.git my-app
rm -rf .git
yarn && yarn run dev

Commands

Running
  npm run dev # run the dev server
  npm run build # build the production bundle
  npm start # start the production server
Linting
  npm run lint # run prettier
  npm run lint:fix # run prettier and automatically fix issues.
Unit Testing
  npm run test # run the test
  npm run test:dev # run the test in watch mode
  npm run test:ci # run the test on continuous integration

Maintainers

  • Jordan Addison