A Frontend-only Employee Management System built using React.js and Tailwind CSS, leveraging LocalStorage for data persistence. The app features role-based dashboards for admin and employees, allowing seamless task assignment, status tracking, and management.
- Authentication System
- One predefined admin
- Employee registration and login supported
- Admin Dashboard
- View all registered employees
- Assign tasks to any employee
- Monitor task statistics: Active, New, Completed, Failed
- Employee Dashboard
- View personal tasks categorized by status
- Accept new tasks, mark tasks as complete or failed
- Local Storage Data Persistence
- Stores user sessions, employee records, and task data in localStorage
- Modern UI
- Built with Tailwind CSS for responsive and elegant styling
The admin is predefined and has full access to all employee-related data and task assignment functionalities.
| Name | Password | |
|---|---|---|
| John Doe | admin@example.com | 123 |
These demo users are already registered with sample task data.
| Name | Password | |
|---|---|---|
| Rahul Kapoor | employee1@example.com | 123 |
| Ankita Joshi | employee2@example.com | 123 |
| Ravi Verma | employee3@example.com | 123 |
| Priya Singh | employee4@example.com | 123 |
| Karan Mehta | employee5@example.com | 123 |
You can also register a new employee from the login page.
β οΈ Only employees can register. Admin cannot be created via the UI.
- React.js: State, props, context API, and component-based architecture
- Tailwind CSS: Building responsive, utility-first styled UIs
- LocalStorage API: Data persistence without a backend
- Role-based UI Logic: Handling conditional rendering for admin vs. employees
- Task Management Logic: Designing features like task assignment, status checking, mark as completed and failed, accepting new tasks etc.
- React.js
- Tailwind CSS
- JavaScript (ES6+)
- LocalStorage API
- Vite (for development & build)
EMPLOYEE_MANAGEMENT_SYSTEM/
βββ node_modules/
βββ public/
βββ src/
β βββ assets/
β βββ components/
β β βββ auth/
β β β βββ Login.jsx
β β βββ dashboard/
β β β βββ AdminDashboard.jsx
β β β βββ EmployeeDashboard.jsx
β β βββ others/
β β β βββ Activity.jsx
β β β βββ ActivityList.jsx
β β β βββ AllAssignedTasks.jsx
β β β βββ AllEmployeeDetails.jsx
β β β βββ CreateTask.jsx
β β β βββ Footer.jsx
β β β βββ Header.jsx
β β β βββ Task.jsx
β β β βββ TaskList.jsx
β βββ context/
β β βββ AuthProvider.jsx
β βββ modal/
β β βββ Modal.jsx
β βββ utils/
β β βββ LocalStorage.jsx
β βββ App.jsx
β βββ main.jsx
β βββ index.css
βββ .gitignore
βββ eslint.config.js
βββ index.html
βββ package.json
βββ package-lock.json
βββ postcss.config.js
βββ tailwind.config.js
βββ vite.config.js
βββ README.md-
Clone the Repository
git clone https://github.com/Angshu09/Employee_Management_System.git
-
Navigate to the Project Directory
cd Employee_Management_System -
Install Dependencies
npm install
-
Start the Development Server
npm run dev
-
Open your browser and navigate to
http://localhost:5173/to explore this project.
Developed with β€οΈ by Angshu Das.




