This is a Next.js boilerplate to be used in the course React Avançado.
- NextJS
- ReactJS
- TypeScript
- Styled Components
- Jest
- React Testing Library
- Storybook
- Eslint
- Prettier
- Husky
- Plop
You can use this as a boilerplate:
npx create-next-app -e https://github.com/adeonir/nextjs-boilerplate new-project
# or
yarn create next-app -e https://github.com/adeonir/nextjs-boilerplate new-project
Then, run the development server:
yarn start
Open http://localhost:3000 with your browser to see the result.
You can start editing the page by modifying src/pages/index.tsx
. The page auto-updates as you edit the file.
start
: runs your application onlocalhost:3000
build
: creates the production build versionserve
: starts a simple server with the build production codelint
: runs the linter in all components and pagestest
: runs jest to test all components and pagestest:watch
: runs jest in watch modegenerate
: runs plop to generate component filesstorybook
: runs storybook onlocalhost:6006
storybook:build
: create the build version of storybook
Made with