A well-structured production-ready Next.js boilerplate with a well-documented directory structuring that supports Typescript, Jest, react-testing-library, Cypress, configurable Fetch and SWR, and a configured component library using Emotion, twin.macro, Tailwind, and Storybook. Plus, taking advantage of NextSeo and NextSitemap.
After cloning repository, go to the directory you've cloned into.
yarn dev
Open http://localhost:3000 with your browser to see the result.
yarn storybook:dev
Open http://localhost:6006 with your browser to see the result.
yarn cypress:dev
To check for a clean deployment and run the project run the following commands, they will take care of unit testing, e2e testing and create production-optimized build of application.
yarn deploy:test
yarn deploy:e2e
yarn start
To build storybook, run the following command:
yarn storybook:build
Fist change the thing you with to be changed and check your staged changes status with the following command.
yarn commit-check