lmaoface1/App-Dev-POS-Inventory — reverse-engineered prompt

Reverse engineered prompt

GitHub

Build me a complete SmartSale web app for a small shop. It should let people log in as either an admin or a cashier, with each role seeing only what they’re allowed to use.

For admins, I want a dashboard showing sales, revenue, and low stock warnings. They should be able to add, edit, delete, and adjust products, view order history with sale details, see sales charts, generate reports, and manage user accounts. For cashiers, I want a simple Point of Sale screen where they can search products, add items to a cart, check out, automatically reduce stock, print a receipt, and view their own past orders.

Use React with Vite and Tailwind for the frontend, Node and Express for the backend, Supabase as the database, and JWT login with hashed passwords. Please include the database tables, API routes, environment setup, and a clean responsive interface. Look up current docs online if you need to.

Want more depth? Deep Reverse