Skip to content

Latest commit

Β 

History

24 Commits

Folders and files

NameName
Last commit message
Last commit date
Β 
Β 
Β 
Β 
Β 
Β 
Β 
Β 

Repository files navigation

πŸ“Š Leave Tracker

A full-stack Leave Management and Attendance Tracking System that helps students monitor attendance and manage allowable leaves based on the 80% attendance rule.

Built using React, Node.js, Express, MongoDB, and JWT Authentication.

πŸš€ Live Demo

Frontend (Vercel) https://your-vercel-app.vercel.app

Backend API (Render) https://leave-tracker-z363.onrender.com

πŸ›  Tech Stack

Frontend

React (Vite)

Tailwind CSS

Axios

dnd-kit (Drag & Drop)

Backend

Node.js

Express.js

MongoDB Atlas

Mongoose

JWT Authentication

✨ Features

β€’ User authentication (Register / Login with JWT) β€’ Add and manage subjects (15 / 30 / 45 lecture types) β€’ Automatic 80% attendance rule calculation β€’ Mark leaves for subjects β€’ Leave history with search and filters β€’ Drag and drop subject reordering β€’ Delete subjects and leave records β€’ Attendance analytics dashboard β€’ Fully responsive UI (desktop + mobile)

πŸ“‚ Project Structure

Leave-Tracker β”œβ”€β”€ client/ β†’ React frontend β”œβ”€β”€ server/ β†’ Express backend └── README.md

βš™οΈ Running the Project Locally

Clone the repository

git clone https://github.com/yourusername/leave-tracker.git

cd leave-tracker

Backend setup

cd server npm install

Create .env inside server/

PORT=7777 MONGO_URI=your_mongodb_connection_string JWT_SECRET=your_secret_key RESEND_API_KEY=your_resend_api_key

Start backend

npm start

Frontend setup

cd client npm install npm run dev

Frontend runs on: http://localhost:5173

πŸ”‘ Environment Variables

Backend (.env)

PORT MONGO_URI JWT_SECRET RESEND_API_KEY

Frontend (.env)

VITE_API_BASE=https://leave-tracker-z363.onrender.com

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

Vedang Mane BTech CSE Student Full Stack Developer

⭐ Support

If you like this project, consider starring the repository.

About

Resources

Stars

1 star

Watchers

0 watching

Forks

Releases

Packages

Contributors

Languages