Skip to content

Leave Management System 🏒 A full-stack app for managing employee leave requests, built with React.js, Node.js, and MongoDB. Streamlines leave applications, tracking, and approvals for organizations. πŸš€

Notifications You must be signed in to change notification settings

Subramanian7986/leavemanagement

Folders and files

NameName
Last commit message
Last commit date

Latest commit

Β 

History

27 Commits
Β 
Β 
Β 
Β 
Β 
Β 

Repository files navigation

🏒 Leave Management System

A full-stack web application to manage leave requests for organizations! Employees can apply for casual or medical leaves, check their leave balances, and track their application status. Admins can manage leave requests efficiently. πŸš€


✨ Features

🌟 Employee Features:

  • πŸ“ Apply for Leaves: Casual or Medical leaves.
  • πŸ“Š Check Leave Balances: See available leave days.
  • πŸ” Track Leave Applications: View the history of approved, pending, or rejected leaves.

🌟 Admin Features:

  • πŸ› οΈ Manage Leave Requests: Approve or reject leave applications.
  • 🧾 View All Leave Records: Get a holistic view of employee leave data.

πŸ› οΈ Tech Stack

Backend:

  • ⚑ Express.js
  • πŸ’Ύ MongoDB (Mongoose)
  • πŸ”’ JWT Authentication

Frontend:

  • 🌐 React.js
  • πŸ›‘οΈ Axios for API calls
  • 🎨 CSS for styling

πŸš€ Installation

  1. Clone this repository:

    git clone https://github.com/Subramanian7986/leavemanagement.git
  2. Navigate to the project directory:

    cd leave-management-system  
  3. Install dependencies for the backend:

    cd backend  
    npm install  
  4. Start the backend server:

    npm start  
  5. Install dependencies for the frontend:

    cd frontend  
    npm install  
  6. Start the frontend server:

    npm start  

πŸ“ Project Structure

Backend (server folder):

  • server.js: API routes for leave applications and user management.
  • models/User.js: Schema for user data.
  • models/LeaveApplication.js: Schema for leave applications.

Frontend (client folder):

  • components/Login.js: Employee/Admin login page.
  • components/Register.js: User registration page.
  • components/Dashboard.js: Employee dashboard.
  • components/ApplyLeave.js: Leave application form.
  • components/AdminPanel.js: Admin panel for managing leave requests.

πŸ“ License

This project is licensed under the MIT License. See the LICENSE file for details.


Enjoy managing leaves seamlessly! ✨

About

Leave Management System 🏒 A full-stack app for managing employee leave requests, built with React.js, Node.js, and MongoDB. Streamlines leave applications, tracking, and approvals for organizations. πŸš€

Topics

Resources

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published