Ibrahim-Mohamed66/Nilearn — reverse-engineered prompt

Reverse engineered prompt

GitHub

Build me a production ready backend API for an online learning platform like Udemy. I want students, instructors, admins, and super admins to have secure accounts with JWT login, refresh tokens, and role based permissions.

The platform should let instructors create courses with sections and lessons, including videos, PDFs, and article style lessons. Students should be able to browse, search, filter, enroll, access only the content they paid for, and leave reviews and ratings only when they are actually enrolled.

Please include a wallet and transaction system so the platform can track revenue, instructor earnings, and revenue splits. Add background jobs for things like emails and media processing, plus media uploads through Cloudinary. Use PostgreSQL for the database and make sure errors come back in a consistent API friendly format.

Use .NET 10 Web API, keep the code clean and organized with clean architecture and CQRS, and include Swagger so I can test everything. Look up current docs online if you need to.

Want more depth? Deep Reverse