Skip to content

Latest commit

 

History

History
91 lines (61 loc) · 2.16 KB

README.md

File metadata and controls

91 lines (61 loc) · 2.16 KB

Random User Fetcher

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.

Features

  • Fetch random user details from the Random User API
  • Display user information including name, email, and location
  • Responsive design with HTML and CSS

Getting Started

Prerequisites

Make sure you have the following installed:

Installation

  1. Clone the repository:

    git clone https://github.com/Sagnik-Coder24/Random-User.git
    cd Random-User
  2. Install dependencies:

    yarn install
    # or
    npm install

Running the App

  1. Start the development server:

    yarn dev
    # or
    npm run dev
  2. Open your browser and go to http://localhost:5173 to see the app in action.

Deployment

  1. Build the app for production:

    yarn build
    # or
    npm run build
  2. Serve the production build:

    yarn serve
    # or
    npm run serve

Usage

  1. Click the "Search Random User" button to get a random user's details.
  2. View the user's name, email, address, phone, age and login credentials displayed on the screen.

Built With

Contributions

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:

  1. Fork the repository
  2. Create a new branch (git checkout -b feature-branch)
  3. Make your changes
  4. Commit your changes (git commit -am 'Add some feature')
  5. Push to the branch (git push origin feature-branch)
  6. Open a pull request

Suggestions & Feedback

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!