Skip to content

Admin_UI, a ReactJS-based solution for the GeekTrust Coding Challenge. This project leverages the power of ReactJS, axios, JavaScript, HTML, and CSS to deliver a seamless and efficient user interface. Dive into the world of GeekTrust challenges with Admin_UI, simplifying the coding experience and showcasing a robust tech stack.

Notifications You must be signed in to change notification settings

HelloMoto069/Admin_UI_HelloMoto069

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

12 Commits
 
 
 
 
 
 
 
 
 
 
 
 
 
 

Repository files navigation

Admin_UI_HelloMoto069

Admin UI

This is a user interface for admins to view and delete users in a startup. The interface retrieves user data from an API and provides various features to manage the user records.

Features

  • Column Titles: The column titles are prominently displayed to distinguish them from the user entries.
  • Search Bar: A search bar is available to filter users based on any property.
  • Edit and Delete: Users can be edited or deleted directly within the interface. Note that these changes are only in memory and not persisted.
  • Pagination: Users are displayed in pages, with each page containing 10 rows. Pagination buttons allow easy navigation between pages, including options to jump to the first, previous, next, and last page. Pagination updates dynamically based on search and filtering results.
  • Row Selection: Users can select one or more rows by clicking the checkboxes. Selected rows are highlighted with a grayish background color. Multiple selected rows can be deleted simultaneously using the "Delete Selected" button at the bottom left.
  • Select/Deselect All: The checkbox at the top left corner provides a shortcut to select or deselect all rows displayed on the current page. It applies only to the 10 rows visible in the current page, not to all the rows.

Tech Stack

The implementation of this user interface involves the following technologies:

  • HTML
  • CSS
  • JavaScript
  • React
  • Axios (for API communication)
  • React Toastify (for displaying toast messages)

Users API

To retrieve the list of users and their properties, an API is provided. Here are the details:

Request Type: GET

Endpoint: https://geektrust.s3-ap-southeast-1.amazonaws.com/adminui-problem/members.json

Sample Response:

[
  {
    "id": "1",
    "name": "Aaron Miles",
    "email": "aaron@mailinator.com",
    "role": "member"
  },
  {
    "id": "2",
    "name": "Aishwarya Naik",
    "email": "aishwarya@mailinator.com",
    "role": "member"
  },
  {
    "id": "3",
    "name": "Arvind Kumar",
    "email": "arvind@mailinator.com",
    "role": "admin"
  }
]

About

Admin_UI, a ReactJS-based solution for the GeekTrust Coding Challenge. This project leverages the power of ReactJS, axios, JavaScript, HTML, and CSS to deliver a seamless and efficient user interface. Dive into the world of GeekTrust challenges with Admin_UI, simplifying the coding experience and showcasing a robust tech stack.

Topics

Resources

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published