boilerplate-nextjss
v1.4.0
Published
<center> <img src=".github/assets/hero-illustration.svg" alt="A developer walking and a screen with the text NextJS" /> </center>
Readme
NextJS Boilerplate
This is a Next.js boilerplate based on the course React Avançado, with some personal flavors like Vitest and Storybook with Vite builder.
What is inside?
- NextJS
- ReactJS
- TypeScript
- Styled Components
- React Testing Library
- Vitest
- Storybook
- Eslint
- Prettier
- Husky
- Lint-Staged
- Plop
Getting Started
You can use this as a boilerplate:
npx degit https://github.com/adeonir/boilerplate-nextjs my-projectThen, run the development server:
pnpm devOpen 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 and save the file.
If you like to try the production build, run:
pnpm buildAnd then:
pnpm startCommands
dev: runs your application onlocalhost:3000build: creates the production buildexport: exports to static files tooutfolder, and can be run standalonestart: starts a simple server with the build production codelint: runs the linter in all components and pagestest: runs vitest oncewatch: runs vitest in watch modecoverage: runs vitest with coverage tablegenerate: runs plop to generate component filesstorybook: runs storybook onlocalhost:6006
Made with ♥️ by Adeonir Kohl
