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. 🚀
- 📝 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.
- 🛠️ Manage Leave Requests: Approve or reject leave applications.
- 🧾 View All Leave Records: Get a holistic view of employee leave data.
- ⚡ Express.js
- 💾 MongoDB (Mongoose)
- 🔒 JWT Authentication
- 🌐 React.js
- 🛡️ Axios for API calls
- 🎨 CSS for styling
-
Clone this repository:
git clone https://github.com/Subramanian7986/leavemanagement.git
-
Navigate to the project directory:
cd leave-management-system
-
Install dependencies for the backend:
cd backend npm install
-
Start the backend server:
npm start
-
Install dependencies for the frontend:
cd frontend npm install
-
Start the frontend server:
npm start
- server.js: API routes for leave applications and user management.
- models/User.js: Schema for user data.
- models/LeaveApplication.js: Schema for leave applications.
- 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.
This project is licensed under the MIT License. See the LICENSE file for details.
Enjoy managing leaves seamlessly! ✨