Skip to content

Create and manage user profiles effortlessly with this React.js application. Add users by providing their username and age, with built-in error handling for empty inputs and ages less than 1.

Notifications You must be signed in to change notification settings

msafeerhussain/User-profiler

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

3 Commits
 
 
 
 
 
 
 
 
 
 

Repository files navigation

User Profiler - React.js

React Logo

Welcome to the User Profiler repository built with React.js! This application allows you to create user profiles by providing a username and age. It also includes error handling to prompt users when they enter empty inputs or an age less than 1.

Table of Contents

Features

  • Create user profiles by entering a username and age.
  • Error handling for user inputs:
    • Displays a popup error for empty inputs.
    • Prompts an error when the age entered is less than 1.

Demo

You can try out the User Profiler by visiting the live demo here.

Getting Started

Follow these instructions to get the project up and running on your local machine.

Prerequisites

Before you begin, ensure you have met the following requirements:

  • Node.js installed on your machine.

Installation

  1. Clone the repository to your local machine:

    git clone https://github.com/msafeerhussain/User-profiler.git
  2. Navigate to the project directory:

    cd user-profiler
  3. Install the necessary dependencies using npm or yarn:

    npm install
    # or
    yarn install

Usage

  1. Start the development server:

    npm start
    # or
    yarn start
  2. Open your web browser and visit http://localhost:3000 to access the User Profiler.

  3. Create user profiles by providing a username and age. The app will handle errors for empty inputs and ages less than 1.

Contributing

Contributions are welcome! If you'd like to contribute to this project, please follow these steps:

  1. Fork the repository.
  2. Create a new branch for your feature or bug fix.
  3. Make your changes and commit them with descriptive commit messages.
  4. Push your changes to your fork.
  5. Submit a pull request to the main repository.

License

This project is licensed under the MIT License.

About

Create and manage user profiles effortlessly with this React.js application. Add users by providing their username and age, with built-in error handling for empty inputs and ages less than 1.

Topics

Resources

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published