drashti616/OffiAttend ? reverse-engineered prompt

Reverse engineered prompt

Build me a face recognition attendance system for a small office, with an admin side and an employee side.

Employees should be able to log in, use their webcam to mark attendance by face, see their attendance history, update their profile, change their password, and apply for leave. Admins should be able to register new employees, capture and store face photos, manage employee records, review leave requests, approve or reject them, and view attendance reports and dashboard summaries.

The attendance rules should be automatic, so scans before 11:00 AM count as Present, scans after 11:00 AM count as Late, and anyone who never scans by the end of the day becomes Absent. If someone has approved leave, that should show as Leave instead. Make the layout responsive and clean, with separate HTML pages for login, dashboards, attendance, leave, and employee management.

Use Flask for the backend, MySQL for storage, and vanilla JavaScript, HTML, and CSS on the front end. If you need to check current docs for the face recognition or scheduler parts, feel free to look them up online.

Are you gonna build this?

make sure you review the code using coderabbit

Try freeSponsored — opens CodeRabbit in a new tab