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