An open API service indexing awesome lists of open source software.

https://github.com/alok-mishra143/leave-management-frontend


https://github.com/alok-mishra143/leave-management-frontend

Last synced: 3 months ago
JSON representation

Awesome Lists containing this project

README

          

https://github.com/user-attachments/assets/8c4266ba-a66a-427e-949a-748200ffebb1

backend:-https://github.com/alok-mishra143/leave-management-backend

# Leave Management System

![Leave Management System](https://img.shields.io/badge/Status-Active-green.svg) ![Built with Next.js](https://img.shields.io/badge/Built%20With-Next.js-blue.svg) ![Tailwind CSS](https://img.shields.io/badge/Styled%20With-TailwindCSS-38B2AC.svg)

## 🚀 Overview

The **Leave Management System** is a web application designed for colleges to manage leave requests efficiently. It allows students to request leaves, staff and HODs to approve or reject them, and admins to oversee the entire leave process. Built using **Next.js, Tailwind CSS, Prisma, and PostgreSQL**.

## ✨ Features

- 🌟 Student leave request submission
- ✅ Staff and HOD leave approval workflow
- 📊 Dashboard for tracking leave history
- 📅 Calendar integration to visualize leaves
- 🔐 Authentication with Supabase Auth
- 📜 Role-based access control (**Admin, HOD, Staff, Student**)
- 📌 Notifications for leave status updates

## 🎭 User Roles

1. **Admin** - Manages the entire system, users, and settings.
2. **HOD (Head of Department)** - Approves or rejects staff and student leaves.
3. **Staff** - Can apply for leave and approve/reject student leave requests.
4. **Student** - Can apply for leave, track status, and receive notifications.

## 🛠️ Tech Stack

- **Frontend:** Next.js, Tailwind CSS, Shadcn UI, Framer Motion
- **Backend:** Prisma, PostgreSQL
- **Database:** PostgreSQL
- **Authentication:** Supabase Auth
- **State Management:** React Context API

## 📸 Screenshots

| Calendar View | Leave Request Form | Profile Setting |
| ----------------------------------------------------------------------------------------- | ----------------------------------------------------------------------------------------- | ----------------------------------------------------------------------------------------- |
| ![image](https://github.com/user-attachments/assets/83f62886-8165-4b2d-b994-f6076c946105) | ![image](https://github.com/user-attachments/assets/f8a0b967-91d1-4553-a739-a36b3cd7d3b0) | ![image](https://github.com/user-attachments/assets/719132ff-242c-4141-a455-28df6828764f) |