salehatq/petalyn-store ? reverse-engineered prompt
Reverse engineered prompt
Build me a full stack flower shop website called Petalyn.
I want a nice, responsive storefront where customers can browse flowers, search products, add items to a cart, and place orders. The cart should stay saved between visits, and the order total should be calculated on the server, not just in the browser.
Also include an admin area where I can log in securely, manage products, add and edit flower listings, upload product photos, and see protected order related pages. Use safe login handling with hashed passwords, an HTTP only session style token, and basic protection for authenticated actions.
Store the data in MongoDB, use Cloudinary for images, and make sure the app is ready for production with sensible security and environment variables. Please set it up so the frontend and backend run separately in development, and make sure the frontend can work with React Router on refresh. If you need current docs for anything, look them up online.
Are you gonna build this?
make sure you review the code using coderabbit