A simple web application built with React and Vite that fetches random user details from the Random User API. The app displays user information in a clean and responsive interface.
- Fetch random user details from the Random User API
- Display user information including name, email, and location
- Responsive design with HTML and CSS
Make sure you have the following installed:
-
Clone the repository:
git clone https://github.com/Sagnik-Coder24/Random-User.git cd Random-User
-
Install dependencies:
yarn install # or npm install
-
Start the development server:
yarn dev # or npm run dev
-
Open your browser and go to
http://localhost:5173
to see the app in action.
-
Build the app for production:
yarn build # or npm run build
-
Serve the production build:
yarn serve # or npm run serve
- Click the "Search Random User" button to get a random user's details.
- View the user's name, email, address, phone, age and login credentials displayed on the screen.
We welcome contributions from the community! Feel free to open issues and pull requests to suggest improvements, add new features, or fix bugs. Here’s how you can contribute:
- Fork the repository
- Create a new branch (
git checkout -b feature-branch
) - Make your changes
- Commit your changes (
git commit -am 'Add some feature'
) - Push to the branch (
git push origin feature-branch
) - Open a pull request
If you have suggestions or feedback on how to improve this project, feel free to post them on our GitHub Issues page. We love hearing your ideas and collaborating with the community!