Skip to content

This web application fetches and displays random user profiles from the Random User Generator API. Contains Unit Testing with Jest

Notifications You must be signed in to change notification settings

MehinHuseynova/Random-Profiles-App

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

4 Commits
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 

Repository files navigation

Random Profiles Web Interface

Overview

This web application fetches and displays random user profiles from the Random User Generator API. Users can interact with the interface to add more profiles, delete individual profiles, renew all profiles, and toggle the display of additional profile details. The application is responsive.

Features

  • Add Profile(s) Button: Clicking this button increments the number of profiles to fetch, adding 1 more profile with each click.

  • Delete Button: Each profile has a delete button, allowing users to remove individual profiles from the list.

  • Reload Button: Clicking this button replaces all previously fetched profiles with 20 new ones.

  • More/Close Profile Details: Each profile has a toggle button to show additional details. At least 5 more data points from the API are displayed.

Available Scripts

In the project directory, you can run:

npm start

Runs the app in the development mode.
Open http://localhost:3000 to view it in the browser.

The page will reload if you make edits.
You will also see any lint errors in the console.

npm test

Launches the test runner in the interactive watch mode.
See the section about running tests for more information.

npm run build

Builds the app for production to the build folder.
It correctly bundles React in production mode and optimizes the build for the best performance.

The build is minified and the filenames include the hashes.
Your app is ready to be deployed!

See the section about deployment for more information.

About

This web application fetches and displays random user profiles from the Random User Generator API. Contains Unit Testing with Jest

Resources

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published