This project is a quiz application that uses a mock server to generate questions and answers
- Error handling using
react-error-boundary
- Simple quiz application using
react-query
for data fetching - Tests for components using
react-testing-library
andvitest
- Styled using
styled-components
To get started with the project, clone the repository and install the dependencies:
git clone https://github.com/ezemery/elder_test.git
cd elder_test
npm install
To run the application locally, use the following command:
npm run dev
This will start the development server, and you can access the application at http://localhost:5173
The project includes tests to ensure that errors are caught correctly and the fallback UI is displayed.
To run the tests, use:
npm run test