sumona-banerjeee c5946ce95e 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.
2026-04-29 11:22:14 +05:30

25 lines
408 B
JSON

[
{
"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"
}
]