dimassfeb-09/inventory_app — reverse-engineered prompt

Reverse engineered prompt

GitHub

Build me a simple inventory management web app for a small warehouse using plain PHP and MySQL. It should have a login page with a default admin account, then a dashboard that shows total items, total stock, incoming and outgoing transaction counts, and warnings when stock is low.

I want pages to manage item categories and items. New items should start with zero stock. Add transaction screens for goods coming in and goods going out. Incoming stock should automatically increase the item stock, and outgoing stock should reduce it, but the app must stop users if they try to take out more than what’s available.

Also include transaction history, showing the latest records, plus a report page where users can filter by start date, end date, and transaction type, then print the results. Keep the code beginner friendly with procedural PHP and MySQL, suitable for running locally in XAMPP or Laragon. Use safe database queries and make sure stock updates don’t break if something goes wrong.

Want more depth? Deep Reverse