A full-stack Employee Leave Management System built with Node.js, Express.js, JavaScript, HTML, CSS, and SQLite. The application streamlines leave requests with role-based authentication, manager approval workflows, leave balance validation, real-time dashboard analytics, and REST APIs.
Frontend: https://leaveflow-hr-ten.vercel.app
Backend API: https://leaveflow-hr-hvfh.onrender.com
- π Role-based authentication (Admin, Manager, Employee)
- π Submit leave requests with balance validation
- β Manager approval and rejection workflow
- π Dashboard with live leave statistics
- π Interactive charts for leave analytics
- π₯ Employee management with seeded sample data
- π Leave history and request tracking
- β‘ REST API powered backend
- πΎ SQLite database integration
- π± Responsive user interface
| Role | Password | |
|---|---|---|
| Admin | admin@leaveflow.test |
admin123 |
| Manager | manager@leaveflow.test |
manager123 |
| Employee | aarav@leaveflow.test |
emp123 |
- HTML5
- CSS3
- JavaScript (ES6)
- Chart.js
- Node.js
- Express.js
- SQLite
- Git & GitHub
- Render
- Vercel
leaveflow-hr/
β
βββ backend/
βββ data/
βββ public/
βββ package.json
βββ README.md
git clone https://github.com/rakeshkumar0804/leaveflow-hr.gitcd leaveflow-hrnpm installnpm startThe application will run on:
http://localhost:3000
- Pending Requests
- Approved Requests
- Rejected Requests
- Monthly Leave Statistics
- Leave Balance Tracking
- Approval Analytics
- View dashboard
- Apply leave
- Approve or reject requests
- Manage employees
- Review leave requests
- Approve or reject requests
- Monitor leave analytics
- Submit leave requests
- View leave balance
- Track request status
- JWT Authentication
- Email Notifications
- File Attachments
- Leave Calendar
- Dark Mode
- Export Reports (PDF/Excel)
- Multi-department Support
Contributions, issues, and feature requests are welcome.
Feel free to fork this repository and submit a pull request.
This project is licensed under the MIT License.
Rakesh Kumar
GitHub: https://github.com/rakeshkumar0804
If you found this project useful, consider giving it a β on GitHub.


