Praverse-Tech-Pvt-Ltd/QMS-Software ? reverse-engineered prompt
Reverse engineered prompt
Build me a pharma quality management system called NexGen Pharma QMS that feels like a real inspection ready internal tool. I want a clean dashboard with KPI cards, my tasks, and quick actions, plus login and signup with role based access so Admin, QA, QC, Production, Warehouse, and Viewer each see only what they should.
Please include the main quality workflows too, like document control with draft, review, approved, effective, and obsolete states, version history, deviations with severity and root cause, CAPA tracking, change control, and training records with a training matrix and retraining when a document changes. Make approvals require a simple re authentication step and keep an audit trail of changes with who made them, when, and why. Use a modern frontend and a Django API backend, wire up the pages, routes, and permissions, and make the app feel polished and usable. If you need current docs for any library, look them up online.