This is the frontend repository for the User Management Dashboard, built using React.js and Tailwind CSS.
- React.js: JavaScript library for building user interfaces.
- Tailwind CSS: Utility-first CSS framework for styling.
- React Router: Declarative routing for React.js applications.
The project follows a simple structure:
- src/components/AccountCreation: Contains components related to the Account Creation tab.
- src/components/UserDetails: Components for the User Details tab.
- userModals: Popups/modals for user-related actions.
- userDetails: Components to display user information.
- src/components/MainDash: Main dashboard components.
- User information is fetched from a placeholder database.
- A searchable table displays user information, including Username, Email, Phone, ID, and Creation date.
- Clicking on a user opens a popup/modal with a button to generate a report for the selected user.
- A form with fields for username and password is implemented.
- Dummy request handling is in place upon form submission.
- The dashboard features two tabs: User Details and Account Creation.
- The layout is designed to be clean and intuitive.
- Efficient search functionality is implemented using
useMemo
. - React Router is utilized for navigation between tabs.
- Styling is done using Tailwind CSS, ensuring a responsive and visually appealing user interface.
-
Clone the repository:
git clone <repository_url> cd frontend
-
install dependencies:
npm install
-
Run the development server:
npm start
Open your browser and navigate to http://localhost:3000.
(if facing error in installing dependencies use npm i --force)