Skip to content

React app that fetches API data for quotes and users randomly on a button click

Notifications You must be signed in to change notification settings

FREDVUNI/random-quotes-users-react

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

18 Commits
 
 
 
 
 
 
 
 
 
 
 
 

Repository files navigation

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.

About

React app that fetches API data for quotes and users randomly on a button click

Resources

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published