Visit it here
- Copy environmental variables file for each environment and pass necessary values to envs
cp .env.dist .env.development
cp .env.dist .env.production
- Start project
- Create basic configuration with the following:
axios
✅
react-query
✅
vite
✅
react-router
✅
- Create Routing for homepage ✅
- Install Mantine to use components ✅
- Install styling library (
emotion/styled-components
) ❌ Went for styling with createStyles
- Get the homepage done ✅
- Fetch 3 random figures ✅
- Redirection to the catalog page ✅
- Animation of the button to provide nice look 🔜
- Get the Catalog page done ✅
- Set styles for hover & focus ✅
- Make it accessible by tab & enter 🔜
- On choice redirect with passed state containing all the details about the model ✅
- Get the summary page done
- Obtain data from the state or api call to url ✅
- Display right side with animation ✅
- Display form with
react-hook-form
- Implement
yup
validation schema ✅
- Fake api with
mswjs
✅
- Redirect to home✅
Not done but could be great to add if more time
- Animations with Framer motion
- RWD
- Revalidate UI/UX
- Accessibility
- Better validation rules
- Make some common components e.g. input with mask, buttons, titles
- Set up theme with correct colors used in application
- E2E tests in Playwright/Cypress
- Unit tests in
vitest
- Vite chunks splitting