first commit for the leave management system. built a Leave Management System with role-based access:

Employees can apply for leave and track balance, status, and history.
Managers can view all requests and approve/reject them.
Login with separate dashboards for employees and managers with the dummy json.
Tables with filters (All, Pending, Approved, Rejected) for easy management.
This commit is contained in:
sumona-banerjeee committed 2026-04-29 11:22:14 +05:30
1 parent 3fdca895cc
commit c5946ce95e
33 files changed
+7173 -212

No files matched your search

+25
View File
@@ -0,0 +1,25 @@
[
{
"id": 1,
"username": "emp1",
"password": "123",
"name": "Rahul Sharma",
"role": "employee",
"leaveBalance": 12
},
{
"id": 2,
"username": "emp2",
"password": "123",
"name": "Priya Das",
"role": "employee",
"leaveBalance": 8
},
{
"id": 3,
"username": "manager",
"password": "123",
"name": "Amit Manager",
"role": "manager"
}
]