vanamfurnitures-web/Vanam-Furniture-Backend ? reverse-engineered prompt
Reverse engineered prompt
Build me the backend for a furniture store app, so the frontend can use it to show products, categories, and a shopping experience.
I want a Node and Express API with MongoDB that handles user signup and login, admin access, and product management. Products should support multiple images, category based browsing, sorting by price and name, price range filtering, reviews, cart items, and favourites. Admin should be able to create, edit, and delete products, and see basic dashboard data like orders, users, and top products if that fits cleanly.
Please set up the server, database connection, routes, controllers, models, and error handling so it’s easy to run locally and deploy. Make sure the API is clean and works with a React frontend, and use sensible validation and auth protection for admin routes. If you need current package or framework docs, look them up online first.
Are you gonna build this?
make sure you review the code using coderabbit