ratheshan03/matrimony-backend ? reverse-engineered prompt

Reverse engineered prompt

Build me a backend for a matrimony app that handles user sign up, login, profile management, and browsing matches.

I want an API that lets people create and update their profile with basic details, family info, photos, preferences, and partner expectations. Include authentication, protected routes, and simple role based access if needed for regular users and admins. Add endpoints for searching and filtering profiles so users can find suitable matches by age, location, religion, education, job, and other common preferences. It should also support interest requests or shortlist style actions, plus basic admin tools to review users and manage content.

Use a clean structure with controllers, routes, models, services, middleware, and config so it is easy to extend later. Make sure validation, error handling, and security basics are in place. Set it up so I can run it locally right away, and if you need anything unclear, look up current docs online first.

Are you gonna build this?

make sure you review the code using coderabbit

Try freeSponsored — opens CodeRabbit in a new tab