A mini project demonstrating how to work with REST APIs in React. This application fetches and displays information about different cat breeds, showcasing API integration, asynchronous data fetching, and dynamic UI rendering.
- React.js
- JavaScript (ES6+)
- HTML5
- CSS3
- Cat Breeds API
- Fetches cat breed information from a public API
- Displays breed details dynamically
- Responsive and user-friendly interface
- Handles asynchronous API requests
- Loading and error state management
- Clean and reusable React components
Cat-Breed-Explorer/
│
├── src/
├── public/
├── package.json
└── README.md
git clone https://github.com/your-username/Cat-Breed-Explorer.gitcd Cat-Breed-Explorernpm installnpm startThe application will be available at:
- Local:
http://localhost:3000
This project demonstrates:
- Consuming REST APIs in React
- Making asynchronous API calls using Fetch API or Axios
- Working with JSON data
- Managing application state
- Rendering dynamic content based on API responses
- Handling loading and error states
- Building reusable React components
This project uses a public Cat Breeds API to retrieve breed information, including details such as:
- Breed name
- Origin
- Temperament
- Description
- Life span
- Images (if available)
Contributions are welcome. Feel free to fork the repository, create a feature branch, and submit a pull request.
This project is licensed under the MIT License.
Miniproject showcasing the use Api calls.
Just a mini-project for cat lovers to get cats info .