Dashboard for managing establishments and order control, inspired by iFood (a famous orders management in Brazil), developed through the ReactJS training by Rocketseat.
If you want to test the application with the backend, follow these steps:
Copy the contents of.env.local.example
into a new file called .env.local
.
Install dependencies:
pnpm i
Start the application:
pnpm run dev
If you want to test only the frontend using mock data, follow these steps:
Install dependencies:
pnpm i
Start the application with mock data:
pnpm run dev:test
To run the unit tests (using Vitest), use the following command:
pnpm run test
To run end-to-end tests (using Playwright), use:
pnpm playwright test
If you prefer to run tests with the Playwright UI, use:
pnpm playwright test --ui
React, React Router DOM, Tailwind, shadcn/ui, React Query, Radix, vitest and playwright.
Throughout this project, I learned a lot about React Query and its advantages, such as efficient data fetching, caching and optimized queries. I also deepened my knowledge of unit testing using Vitest and end to end testing (E2E) with Playwright, both widely used tools in the industry. Additionally, the project enhanced my skills in building scalable react applications, managing states and optimizing performance while following best practices.