https://github.com/malbernaz/cmp-app
https://github.com/malbernaz/cmp-app
Last synced: 3 months ago
JSON representation
- Host: GitHub
- URL: https://github.com/malbernaz/cmp-app
- Owner: malbernaz
- Created: 2024-09-09T01:59:53.000Z (9 months ago)
- Default Branch: main
- Last Pushed: 2024-09-09T13:12:51.000Z (9 months ago)
- Last Synced: 2025-01-12T14:47:38.697Z (4 months ago)
- Language: TypeScript
- Size: 61.5 KB
- Stars: 0
- Watchers: 1
- Forks: 0
- Open Issues: 0
-
Metadata Files:
- Readme: README.md
Awesome Lists containing this project
README
# Didomi challenge
## Setup
For this project I decided to use `PNPM` as my package manager, but both `NPM` and `Yarn` should work just fine.
```bash
pnpm install # Install the dependencies
pnpm dev # Start the development server
pnpm test # Run the tests
```## Stack
### Styles
As it was a requirement of the challenge to use a Material UI library, I've chosen to use `MUI` which is the standard in the market and it's backed by Google.
### State management and API communication
Since most of the state management necessary for this project revolves around API interaction, I've chosen to use to use `@tanstack/react-query`, which in my opinion is an excellent library for handling API communication and caching efficiently.
### Form management
For form management I opted to use `react-hook-form` and `zod`. This combination allows for type safe validation with minimal boilerplate.
### Testing
For testing I've used `vitest` and `react-testing-library`.