satvikpraveen/nextjs-ecommerce ? reverse-engineered prompt
Reverse engineered prompt
Build me a polished demo e commerce site with a modern storefront, product catalog, search, categories, filtering, and a cart that keeps its items even after refresh. I want customers to be able to sign up and sign in, browse products, subscribe to a newsletter, and go through checkout with Stripe set up for payments and order flow. Please also include an admin area where I can manage products and view orders, plus role based access so regular users do not see admin tools.
Make it look clean and responsive, with a strong mobile experience and good SEO. Use a simple, friendly design with reusable components and a custom 404 page. It should be wired to a PostgreSQL database with Prisma, and I’d like sample data so the app works right away. If you need to check current docs for anything, go ahead and look them up online. Also make sure it is easy to run locally and includes Docker support.
Are you gonna build this?
make sure you review the code using coderabbit