f0rty7/invoice-manager — reverse-engineered prompt

Reverse engineered prompt

GitHub

Build me a simple invoice manager for Zepto and Blinkit PDF bills. I want people to be able to sign up, log in, upload one or many invoice PDFs, and have the app automatically detect the format, pull out the invoice details and items, and save everything to a local MongoDB database. Regular users should only see their own invoices, and an admin should be able to see everyone’s data in a separate admin view.

On the main dashboard, give me drag and drop uploads with progress, filters for date, category, price, and user, a table of invoices with pagination and expandable details, plus summary stats and a category breakdown. Please handle duplicate uploads sensibly so the same invoice is not imported twice, and if a file changes it can update the saved record. If possible, also support auto importing PDFs from an invoice sync folder when the backend starts. Make it runnable locally with sensible defaults, including an admin account I can use right away. Look up current docs online if you need to.

Want more depth? Deep Reverse