khushpreet78141/Green-Basket-Project ? reverse-engineered prompt
Reverse engineered prompt
Build me a full stack grocery shopping app called Green Basket where people can sign up, log in, browse fresh groceries by category, search for products, open a product detail page, and add items to a cart. I want users to be able to change quantities, remove items, enter shipping details, and place an order through a simple demo payment flow.
Please include order history and order detail pages for customers, plus a protected admin area where an admin can add, edit, and delete products, manage stock, and view all orders. Use a clean modern shopping UI, keep login sessions persistent, and make sure the app has protected routes for both the frontend and backend.
Use React with Redux on the frontend and Node, Express, and MongoDB on the backend, with JWT login and role based access control. If you need current library details, look them up online and build it in a way that feels ready to use.