einfoc/KM_frontend — reverse-engineered prompt
Reverse engineered prompt
Build me a polished frontend for an enterprise knowledge management system.
I want users to be able to log in, upload and browse company documents, search across them with smart filters, chat with an AI assistant that answers using document citations, and see related topics or entities in a knowledge graph style view. Include role based screens for normal users, reviewers, admins, and tenant admins. There should be an approval workflow before uploaded documents become searchable, plus audit history so enterprise teams can see what happened.
Use Angular with a clean Material style interface, state management where it makes sense, and make it feel production ready rather than a demo. The app should assume it talks to backend APIs for auth, documents, search, chat, approvals, graph data, and admin settings. Stub or mock anything needed so the frontend can run locally.
Please make it responsive, organized, and easy to extend. Look up current Angular docs online if you need to.
Want more depth? Deep Reverse