This application is a boilerplate for complex and large systems, especially those that need to scale with security and code quality.
We sought to achieve 3 pillars: readability, reusability, and refactorability.
In the construction of the UI, the Atomic Design structure was chosen, organizing the global components into atoms, molecules, organisms and templates.
In addition to being constantly updated, this project was configured in the smallest details to serve as a basis for professional projects that require standardized and easy-to-maintain code architecture and design.
- Technologies
- Features
- Prerequisites
- How to install and run the project
- Guides
- Important Considerations
- References
- Author
β Next.js
π₯ TypeScript
π CSS Modules
π© Lints: Lefthook, BiomeJS and Commitlint
β Vitest
π React Testing Library
-
Responsive design;
-
Atomic Design;
-
100% coverage;
-
Detection prefers-reduced-motion;
-
node 24.x (see
package.jsonenginesand.nvmrc). -
pnpm 10.x via Corepack (see
package.jsonpackageManager).
git clone https://github.com/everton-dgn/boilerplate_nextjs_app.gitpnpm ipnpm devAvailable in http://localhost:3000
pnpm buildpnpm startAvailable in http://localhost:3000
pnpm testpnpm test:wRuns in watch mode in the terminal.
pnpm lintpnpm typecheckpnpm formatpnpm check:update- This boilerplate enforces a strict quality bar. Read
docs/quality-constraints.mdbefore starting. - Commits must follow Conventional Commits for the automated release flow.
- Use Node and pnpm versions defined in
package.json. - Keep Node versions aligned across
package.json,.node-version,.nvmrc, and GitHub Actions.
- Next.js: https://nextjs.org/docs
- React: https://react.dev
- Biome: https://biomejs.dev
- Commitlint: https://commitlint.js.org
- Lefthook: https://github.com/evilmartians/lefthook
- Semantic-release: https://semantic-release.gitbook.io
- Vitest: https://vitest.dev
- Playwright: https://playwright.dev
- TypeScript: https://www.typescriptlang.org/docs
π LinkedIn: https://www.linkedin.com/in/everton-toffanetto
π YouTube: https://youtube.com/@toffanettodev