This is a boilerplate for next applications based on the boilerplate made in the React Avancado Course.
What is inside?
- NextJS;
- React;
- Styled Components;
- Framer Motion;
- Jest;
- Testing Library;
- Storybook;
- Eslint;
- TypeScript;
- Husky;
- Lint Staged;
- Plop;
Everything is already configured, you just need to code! 🚀
Run in your terminal:
yarn generate <ComponentName>
A folder component with the following structure will be generated and automatically configured!
You just need to implement your stuff! :)
Clone this repository in your project and change the github origin
git clone git@github.com:giovanedann/next-boilerplate.git
Or start a next project with this template directly from the command line
npx create-next-app -e https://github.com/giovanedann/next-boilerplate
yarn create-next-app -e https://github.com/giovanedann/next-boilerplate
To run your stories, type this in your terminal
yarn storybook
npm run storybook
Then wait, and access http://localhost:6006 to see your stories!