blog-next-course
blog-next-course copied to clipboard
Project developed during training: Crie um site PWA com Next.js 13, React Server Components e Testes (+SOLID) π₯
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.
Other libs
- ContentLayer
- Rehype
- Remark
π Getting started
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
.
π€ Contributing
- 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
.
After your pull request is merged, you can safely delete your branch.
Made with β₯ by Junior Alves