PunitDh/education-lms ? reverse-engineered prompt
Reverse engineered prompt
Build me a lightweight education consultation app where students can sign up, log in, and manage their own consultation bookings.
I want students to be able to book a consultation, reschedule it, cancel it, and mark it as complete or incomplete when needed. If a consultation is completed, it should have to be marked incomplete before it can be edited again, and if it gets cancelled that should be final and kept as history.
Administrators should be able to log in and see all consultations in one place, but only as read only access, no creating or changing anything. Make sure each booking belongs to the logged in user, not something they can pick themselves.
Use a clean modern dashboard with a nice simple UI, and load the main dashboard data on the server when possible. If you need to check current Next.js or Supabase docs while building, go ahead and look them up online. Also include the database setup, auth, and basic tests so the core booking rules and permissions actually work.