This is a Next.js boilerplate project created to help you start your next project easily.
In order to create a project with Next.js we need some tools like eslint, prettier, some testing library etc. This can be cumbersome and require lot of time to make it done.
This ,obviously, is a very opinionated configuration. I use this tools in some projects, so I decided to make it easy.
The tools used in this projects are:
- Next.js - one of the best react framework out there
- Chakra-ui - great tool to create React.js components.
- React Testing Library - for unit testing
- MSW - to mocking data
- Storybook - help us document our components with joy
- Husky - git hooks made easy and nice
- Typescript - the best thing after pamonha
- Prettier - help us make our code organized
First, install the necessary packages running:
yarn install
then, run the development server:
yarn dev
For testing:
yarn test
Open http://localhost:3000 with your browser to see the result.
You can start editing the page by modifying pages/index.tsx
. The page auto-updates as you edit the file.
Start your next billion dolar project.
That's it! :)