TaskMaster is a modern, responsive Employee Management System built with React and Tailwind CSS. It allows administrators to manage employees and assign tasks, while employees can view their tasks and update their status.
- Secure login for both Admins and Employees.
- Role-based access control (Admin vs. Employee dashboards).
- Create Tasks: Assign new tasks to specific employees with details like title, description, date, category, and priority.
- View All Tasks: Monitor all tasks across the organization in a comprehensive list view.
- Employee Management: (Implicit via task assignment).
- Task Overview: View all assigned tasks in a clean, card-based layout.
- Task Status Management:
- New: Accept tasks to move them to "Accepted".
- Accepted: Mark tasks as "Completed" or "Failed".
- Statistics: Real-time counters for Total, New, Completed, and Failed tasks.
- Uses
localStorageto persist user data and task updates, ensuring data isn't lost on page refresh.
- Frontend Framework: React (Vite)
- Styling: Tailwind CSS
- State Management: React Context API
- Routing: React Router DOM
- Icons: (Used via text/emoji or SVG in code)
-
Clone the repository:
git clone <repository-url> cd Employee-Managemet-Project
-
Install dependencies:
npm install
-
Run the development server:
npm run dev
-
Open in browser: Navigate to
http://localhost:5173(or the port shown in your terminal).
The application comes pre-loaded with demo data. You can use the following credentials to log in:
- Email:
admin@company.com - Password:
admin123
| Name | Password | |
|---|---|---|
| Rahul Sharma | rahul@company.com |
rahul123 |
| Ananya Patel | ananya@company.com |
ananya123 |
| Kunal Verma | kunal@company.com |
kunal123 |
| Neha Singh | neha@company.com |
neha123 |
src/
├── assets/ # Static assets
├── Components/ # Reusable UI components
│ ├── Admin/ # Admin-specific components (Dashboard, TaskCreate, AllTasks)
│ ├── Employee/ # Employee-specific components (Dashboard, TaskCard, Detail)
│ └── Login/ # Login form component
├── Context/ # Context API for state management (AuthContext)
├── Pages/ # Main page views (Home, Login, Admin, Employee)
├── Utils/ # Utility functions and initial data (LocalStorage)
├── App.jsx # Main application component with routing
└── main.jsx # Entry point