Welcome to the Get Random Users API project! This is a simple React application built with Vite, designed to help students learn how to fetch and display data from external APIs.
In this project, you will learn how to:
- Make API calls using Fetch or Axios in a React component.
- Manage component state using the useState hook.
- Handle side effects and API requests on component mount using useEffect.
- Render dynamic lists of users in the UI.
To get this project running on your local machine:
- Install Dependencies
Run the following command in your terminal:
bash npm install - Start the Development Server
bash npm run dev - Open the provided http://localhost:5173 link in your browser.
- src/App.jsx: The main component where state is managed and UI is rendered.
- src/main.jsx: The entry point that mounts the React application.
Happy Coding! 💻 Set up your components, play with the API responses, and build an awesome UI!