Web application developed in react whose objective is to demonstrate how to handle an API with said framework.
- Retrieves a random cat fact from the first API.
- Retrieve the first word of the fact.
- Show a picture of a cat with the first word.
To run this project, you need to have Node.js and npm installed on your computer. Follow these steps:
- Clone the repository onto your local machine.
- Open the terminal and navigate to the root folder of the project.
- Run the following command to install the project's dependencies:
npm run build
- Run the following command to start the development server:
npm run dev
- Open your web browser and navigate to the following URL:
http://localhost:3000
This app was tested using Playwright, to run test set follow these steps:
- Run test:
npx playwright test
- View results:
npx playwright show-report