Project developed during training: Crie um site PWA com Next.js 13, React Server Components e Testes (+SOLID) 🔥
👉 Access link: here
Topics covered
We're going to talk a lot about:
✅ Create a template from scratch (Eslint, Prettierc, Jest, RTL and more)
✅ React fundamental concepts;
✅ Next.js 13 routing with the new App Router;
✅ Layout, error and other special files;
✅ React Server Components;
✅ Typescript;
✅ Tests.
And so much more!
With Next.js 13 (APP Router) & React 18!
- 📏 ESLint — Pluggable JavaScript linter.
- 💖 Prettier - Opinionated Code Formatter.
- 🐶 Husky — Use git hooks with ease.
- 🚫 lint-staged - Run linters against staged git files.
- 🐙 React Testing Library (RTL) - Builds by adding APIs for working with React components.
- 🃏 Jest - A delightful JavaScript Testing Framework with a focus on simplicity.
- 🧑🔬 Cypress - Fast, easy and reliable testing for anything that runs in a browser.
- 💅 TailwindCSS - Rapidly build modern websites without ever leaving your HTML.
- ContentLayer
- Rehype
- Remark
The best way to start with this template is to clone this repository and run the following commands inside the project folder:
pnpm install
,npm install
oryarn
;pnpm dev
,npm run dev
oryarn dev
;
To view the project open http://localhost:3000
.
- Fork this repository;
- Create your branch:
git checkout -b my-new-feature
; - Commit your changes:
git commit -m 'Add some feature'
; - Push to the branch:
git push origin my-new-feature
.
Made with ♥ by Junior Alves