Back to work
Live in production
Leave Manager
Team leave planning platform with role-based dashboards and scheduling constraints.
- Next.js 15
- TypeScript
- MongoDB
- JWT
- Tailwind CSS
- Playwright

The problem
What needed solving
Team leave planning breaks operations when approvals, shift schedules, and member availability are not coordinated in one system. Leaders lacked visibility; members lacked transparency.
Constraints
What the build had to respect
- Separate leader/member flows with strict role-based access control
- Calendar and request views that reflect real shift scheduling constraints
- Accurate leave balance, carryover, and year-end projection visibility
Architecture
How it fits together
frontend
Next.js 15 App Router with role-aware dashboards, analytics, calendar, and profile pages
backend
Next.js API Routes for leave management logic — balances, requests, team constraints, SSE real-time updates
database
MongoDB Atlas with indexed leave records, user/team data, and audit logs
deployment
Live production deployment on Vercel with environment-managed secrets