Skip to content

Latest commit

 

History

2 Commits

Folders and files

NameName
Last commit message
Last commit date
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 

Repository files navigation

Cat API React App

This is a simple React application built with Vite that fetches data from The Cat API. The app displays random cat images and a list of cat breeds, with easy navigation between the two.

Features

  • Display random cat images
  • Display a list of cat breeds
  • Navigation between the images and breeds pages

Technologies Used

Getting Started

Follow the instructions below to get the project up and running on your local machine.

Prerequisites

Make sure you have the following installed:

Installation

  1. Clone the repository:

    git clone https://github.com/yourusername/cat-api-react-app.git
    cd cat-api-react-app
  2. Install dependencies: npm install

  3. Create a .env file: In the root directory of the project, create a .env file with the following content, replacing your_api_key with your actual API key from The Cat API: VITE_CAT_API_KEY=your_api_key

  4. Run the development server: npm run dev The application should now be running on http://localhost:5173.

About

No description, website, or topics provided.

Resources

Stars

0 stars

Watchers

1 watching

Forks

Releases

Packages

Used by

Contributors

Languages