Skip to content

Latest commit

 

History

History
63 lines (38 loc) · 1.47 KB

README.md

File metadata and controls

63 lines (38 loc) · 1.47 KB

Random Quotes and Users React App

This React app fetches API data from RapidAPI to display random quotes and users. It provides a button that, when clicked, retrieves a random quote and user from the API and updates the display.

Getting Started

To get started with this app, follow the instructions below:

Prerequisites

Make sure you have the following installed on your local machine:

  • Node.js (v12 or above)
  • npm (Node Package Manager)

screenshot

image

Installation

  1. Clone the repository:

    git clone [https://github.com/FREDVUNI/random-quotes-users-react-app.git](https://github.com/FREDVUNI/react-fetch-api)
  2. Navigate to the project directory:

    cd random-quotes-users-react-app
  3. Install the dependencies:

    npm install

Running the App

To run the app locally, use the following command:

npm start

Open your web browser and visit http://localhost:3000 to see the app in action.

Features

  • Fetches random quotes and users from RapidAPI.
  • Updates the display with a new random quote and user on button click.

Technologies Used

  • React: JavaScript library for building user interfaces.
  • Axios: Promise-based HTTP client for making API requests.
  • RapidAPI: Platform for accessing various APIs.

License

This project is licensed under the MIT License.