This project was bootstrapped with Create React App.
https://alkafaiz.github.io/car-insurance/
Insert Plate number as 111 to simulate failed API call
- Include 3 pages (personal details, car details, complete page)
- Use routing to navigate through those pages
- Use any CSS framework.
- Use any framework or library. We recommend Angular or React.
- Integrate with 3 parties library. At least date picker.
- Include validation for all fields is required.
- Include validation for email
- Include validation for date of birth to be more than 18 years and less than 100 years.
- Create a fake API and submit buttons call it with two scenarios
- Success call then go to the next page.
- Failed call then display toastr or dialog with error message
- Display dialog modal to show welcome message based on query param called “newuser=true”
- All code must come together with tests
- 3rd party libraries:
react-router-dom
,chakra-ui
,redux-toolkit
,formik
,query-string
,react-datepicker
,react-icons
,yup
- testing library:
Jest