cheropbecky/luxx-liquor-store ? reverse-engineered prompt
Reverse engineered prompt
Build me a simple full stack liquor store app where the frontend already exists and the backend just makes it work for real.
I want the shop page to load products from a server instead of hardcoded data, with 68 products split into categories like wines, whiskey, vodka, beer, and soft drinks. The products page should let users browse all items or filter by category, and the checkout flow should send an order to the backend and save it so it is not lost when the page refreshes.
Please make a clean Node.js and Express API that serves the product data and handles orders, with endpoints for getting all products, getting one product, filtering by category, creating an order, and viewing saved orders. Keep it simple so the existing HTML, CSS, and JavaScript frontend can connect with minimal changes. If you need current docs for anything, look them up online.
Are you gonna build this?
make sure you review the code using coderabbit