Skip to content

A React app to search, filter, and incrementally load user data with smooth transitions and skeleton loaders

Notifications You must be signed in to change notification settings

NishaVijai/user-finder

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

8 Commits
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 

Repository files navigation

User Finder

Description

A simple React app to search, filter, and browse user data with smooth incremental loading. This project demonstrates fetching JSON data, implementing search and "load more" functionality, skeleton loaders, and smooth scroll effects.


Table of Contents


Preview

https://user-finder-react-vite.netlify.app/


Screenshot

UserFinder

Features

  • Search users by first name in real-time
  • Incrementally load users (5 at a time) with smooth transitions
  • Skeleton placeholders for initial fetch
  • Remaining users count & “Load More” button
  • Scroll automatically to newly loaded users
  • Responsive design for desktop, tablet, and mobile
  • Fully hosted-ready (works with Netlify)

Technologies Used

  • React (with hooks: useState, useEffect, useTransition)
  • JavaScript (ES6+)
  • CSS3 (Flexbox + Grid + Media Queries)
  • Local JSON data for mock users

Setup

  1. Clone the repository
git clone <repository-url>
cd user-finder
  1. Install dependencies
npm install
  1. Run the app locally
npm start

The app will run at http://localhost:3000.


Usage

  1. Search Users: Type a first name in the search bar to filter results.
  2. Load More Users: Click “Load More” to incrementally load the next 5 users.
  3. Smooth Scroll: Newly loaded users will automatically scroll into view.
  4. Responsive: Works on desktop, tablet, and mobile devices.

Project Structure

user-finder/
│
├─ public/
│   └─ data/
│       └─ MOCK_DATA.json    # Mock user data
│
├─ src/
│   ├─ assets/
│   │   └─ components/
│   │       ├─ SearchBar.jsx
│   │       ├─ UserList.jsx
│   │       └─ UserCard.jsx
│   │
│   ├─ index.css              # Global styles
│   └─ App.jsx
│
├─ package.json
└─ README.md

Deployment

Build the app:

npm run build

License

This project is open-source and free to use for personal or educational purposes.

About

A React app to search, filter, and incrementally load user data with smooth transitions and skeleton loaders

Topics

Resources

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published