LeaveSync-AI is a modern web-based Leave Management System designed to automate leave requests, approvals, notifications, and holiday planning.
It supports role-based dashboards for Employees, Managers, and Admins, along with smart AI leave recommendations.
- 🔐 User Registration & Login
- 👤 Role-Based Dashboards (Employee / Manager / Admin)
- 📝 Apply for Leave (Date Range + Reason)
- 📜 Leave History (Approved / Rejected / Pending)
- ✔️ Manager/HR Approval Workflow
- 📅 Holiday Calendar Integration
- 🤖 AI-Based Smart Leave Recommendations
- 📧 Email & In-App Notifications
- 📊 Leave Analytics Dashboard for HR
- 🔄 Real-Time Leave Balance Updates
- 🧩 Modular Backend Architecture
Backend: Python
Frontend: HTML, JavaScript, CSS
Database: MySQL / PostgreSQL / SQLite
Deployment: Vercel / Cloud Hosting
License: MIT License
leavesync-ai/
│
├── api/ # API routes & backend logic
├── core/ # Core application modules
├── leavesync_backend/ # Main backend application
├── templates/ # Frontend HTML templates
├── vercel.json # Deployment configuration
├── requirements.txt # Python dependencies
└── README.md # Project documentation
git clone https://github.com/EDWARD-012/leavesync-ai
cd leavesync-aiWindows
python -m venv venv
venv\Scripts\activateLinux/Mac
python3 -m venv venv
source venv/bin/activatepip install -r requirements.txtCreate a .env file in the root folder and include:
SECRET_KEY=your_secret_key
DATABASE_URL=your_database_url
EMAIL_HOST=your_email_smtp
EMAIL_USER=your_email
EMAIL_PASSWORD=your_password
HOLIDAY_API_KEY=optional
python manage.py migratepython manage.py createsuperuserpython manage.py runserverVisit: http://127.0.0.1:8000/
- Ensure
vercel.jsonis configured correctly - Add environment variables in the Vercel dashboard
- Connect the GitHub repository to Vercel
- Deploy from the main branch
- Verify live deployment
Contributions are welcome!
Submit pull requests for bug fixes, features, documentation, etc.
This project is licensed under the MIT License.
Developer: Ravi Kumar Gupta
GitHub: https://github.com/EDWARD-012