vighneshnaik2007/FaceAttend-Backend — reverse-engineered prompt
Reverse engineered prompt
Build me a Python Flask backend for a college face attendance system called FaceAttend for Ramaiah Institute of Technology.
It should use Firebase Firestore for data and expose REST APIs for teacher and student login, managing students, marking attendance, editing attendance, viewing today’s attendance, student attendance summaries, history, defaulters below 75 percent, weekly data, and date filters.
Also include APIs for CIE marks, subject stats, reports like subjects, timetable, daily and monthly reports, and notifications. The system should send Gmail shortage alert emails when attendance drops below 75 percent and also keep an in app notification log.
Add face registration and face recognition endpoints where a student can register their face from image data and later be recognized in real time for a subject. Make face recognition optional so the rest of the backend still runs if that library is missing.
Set it up with CORS, environment variables, Firebase service account config, requirements, and deployment support for Railway or Render with gunicorn. Include clear run instructions.
Want more depth? Deep Reverse