This is a simple web application that allows users to search for dog breeds and get information about them, including images, temperament, origin, weight, and height.
- On the homepage, users can enter the name of a dog breed they want to search for.
- Click the "Search" button to fetch information about the entered breed.
- If the breed is found, the application displays its name, image, temperament, origin, weight (imperial), and height (imperial).
- Enter "Golden Retriever" in the search input field.
- Click the "Search" button.
- The application will display information about the Golden Retriever breed, including an image, temperament, origin, weight, and height.
- Enter "Bulldog" in the search input field.
- Click the "Search" button.
- The application will display information about the Bulldog breed, including an image, temperament, origin, weight, and height.
- React (Frontend)
- Vite (Scaffolding)
- Fetch API (To make requests to the dog breed API)
- CSS (Styling)
- Fork and Clone this repository to your local machine.
- Navigate to the project directory.
- Run
yarn install
to install the project dependencies. - Run
yarn run dev
to start the development server. - Open your browser and go to
http://localhost:5173/
to access the app. - Enter a dog breed name in the search input field and click the "Search" button to see the information.
This app fetches data from a public dog breed API. Since the data is obtained from an external source, it might not be up-to-date or accurate for every breed. The app is intended for educational purposes and as a demonstration of using APIs with React.
For any issues or improvements, feel free to open an issue or pull request.
This project is licensed under the MIT License.