Skip to content

Folders and files

NameName
Last commit message
Last commit date

Latest commit

Β 

History

13 Commits
Β 
Β 
Β 
Β 
Β 
Β 
Β 
Β 
Β 
Β 
Β 
Β 

Repository files navigation

🏒 Leave Management System - Backend

This is the backend of the Leave Management System (LMS), built using Node.js, Express, and MongoDB.
It handles user authentication, leave requests, leave balance tracking, and admin leave approvals.


🌐 Live API URL

πŸ”— Live Server: https://leave-management-system-backend.onrender.com


βš™οΈ Tech Stack

  • Node.js – Backend runtime
  • Express.js – Web framework
  • MongoDB + Mongoose – Database
  • JWT (JSON Web Token) – Authentication
  • bcrypt.js – Password hashing
  • dotenv – Environment configuration
  • CORS – Secure cross-origin requests

πŸš€ Features

πŸ‘©β€πŸ’Ό Employee Features

  • Register and login securely.
  • Apply for leave (with type, reason, and dates).
  • View leave history and status.
  • See remaining leave balance in dashboard.

πŸ§‘β€πŸ’Ό Admin Features

  • View all employee leave requests.
  • Approve or reject leaves.
  • Automatically updates employee leave balance upon approval.
  • Delete leave requests (with automatic balance adjustment).

About

Resources

Stars

0 stars

Watchers

0 watching

Forks

Releases

Packages

Contributors

Languages