DannyDele/Mflix-Movies ? reverse-engineered prompt

Reverse engineered prompt

Build me a backend for an ecommerce admin dashboard with a clean feature based structure.

I want a REST API that covers the main admin stuff like login, team members, dashboard stats, orders, products, customers, inventory, discounts, reviews, analytics, notifications, and store settings. It should support secure login with httpOnly cookies, refresh tokens, logout, password change, and basic admin permissions. I also need list pages with search, filtering, sorting, and pagination, plus detail pages for things like orders and customers.

Please include file uploads for product images and the store logo, saved locally and served back from the server. Use sample data seeding, and make sure there is a default admin account I can use right away. Keep the code organized so each feature lives in its own folder and the API feels ready for a real admin dashboard frontend to connect to. If you need current docs or best practices for anything, look them up online first.

Are you gonna build this?

make sure you review the code using coderabbit

Try freeSponsored — opens CodeRabbit in a new tab