yashashree2025/Employee-Leave-Management-Portal ? reverse-engineered prompt
Reverse engineered prompt
Build me a full stack employee leave management portal where employees can sign up, log in, apply for leave, and see the status of their requests, while HR can log in separately, review all requests, search employees, filter by status, and approve or reject leave applications.
I want a clean, responsive interface with separate dashboards for employees and HR, showing simple stats like total, pending, approved, and rejected leaves. Please set up secure authentication with JWT and password hashing, protect the right pages and API routes, and connect everything to a MongoDB database through a Node and Express backend.
Also include a way for HR to export leave reports as CSV, and make the UI feel polished and easy to use on desktop and mobile. If you need current docs or best practices for anything, look them up online and use the latest approach.
Are you gonna build this?
make sure you review the code using coderabbit