Skip to content

Folders and files

NameName
Last commit message
Last commit date

Latest commit

Β 

History

5 Commits
Β 
Β 
Β 
Β 
Β 
Β 
Β 
Β 
Β 
Β 
Β 
Β 

Repository files navigation

Employee Leave Management System

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.


πŸš€ Live Demo

Frontend: https://leaveflow-hr-ten.vercel.app

Backend API: https://leaveflow-hr-hvfh.onrender.com


✨ Features

  • πŸ” 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

πŸ“Έ Screenshots

Login Pagelogin

Dashboarddashboard

Leave Approvalleave approval


πŸ‘₯ Demo Credentials

Role Email Password
Admin admin@leaveflow.test admin123
Manager manager@leaveflow.test manager123
Employee aarav@leaveflow.test emp123

πŸ› οΈ Tech Stack

Frontend

  • HTML5
  • CSS3
  • JavaScript (ES6)
  • Chart.js

Backend

  • Node.js
  • Express.js

Database

  • SQLite

Tools

  • Git & GitHub
  • Render
  • Vercel

πŸ“‚ Project Structure

leaveflow-hr/
β”‚
β”œβ”€β”€ backend/
β”œβ”€β”€ data/
β”œβ”€β”€ public/
β”œβ”€β”€ package.json
└── README.md

βš™οΈ Installation

Clone the repository

git clone https://github.com/rakeshkumar0804/leaveflow-hr.git

Navigate to project

cd leaveflow-hr

Install dependencies

npm install

Start the application

npm start

The application will run on:

http://localhost:3000

πŸ“Š Dashboard Highlights

  • Pending Requests
  • Approved Requests
  • Rejected Requests
  • Monthly Leave Statistics
  • Leave Balance Tracking
  • Approval Analytics

πŸ”’ Authentication Roles

Admin

  • View dashboard
  • Apply leave
  • Approve or reject requests
  • Manage employees

Manager

  • Review leave requests
  • Approve or reject requests
  • Monitor leave analytics

Employee

  • Submit leave requests
  • View leave balance
  • Track request status

🌟 Future Improvements

  • JWT Authentication
  • Email Notifications
  • File Attachments
  • Leave Calendar
  • Dark Mode
  • Export Reports (PDF/Excel)
  • Multi-department Support

🀝 Contributing

Contributions, issues, and feature requests are welcome.

Feel free to fork this repository and submit a pull request.


πŸ“„ License

This project is licensed under the MIT License.


πŸ‘¨β€πŸ’» Author

Rakesh Kumar

GitHub: https://github.com/rakeshkumar0804

If you found this project useful, consider giving it a ⭐ on GitHub.

About

Full-Stack Employee Leave Management System built with Node.js, SQLite, REST APIs and Role-Based Authentication.Live Demo: https://leaveflow-hr-hvfh.onrender.com

Topics

Resources

Stars

Watchers

Forks

Releases

Packages

Contributors

Languages