habitutor/website — reverse-engineered prompt
Reverse engineered prompt
Build me habitutor.id, a simple LMS web app. I want a polished learning platform where users can create an account, log in, land on a dashboard, see their enrolled courses, open course pages with lessons or modules, and have their progress saved in the database. There should be a clear difference between normal learners and an admin or teacher area so content can be managed without touching the database directly. Keep the UI clean, modern, responsive, and easy to understand, with good empty states and loading states.
Use the existing TypeScript monorepo setup with the web app, API server, authentication, PostgreSQL database, and shared packages. Wire the frontend to the backend properly rather than mocking everything. Add the needed database schema, basic seed data if helpful, and make sure the dev server, build, lint, and type checks work. Look up current docs online if you need to.
Want more depth? Deep Reverse