vijaybhivagade14-commits/TORAEVENT-MERN ? reverse-engineered prompt
Reverse engineered prompt
Build me the backend for an event management app. I want a clean API server where I can create, view, update, and delete event records, and keep the code split into routes, controllers, models, middleware, and small utility helpers so it stays easy to maintain.
Please set it up so it runs from the main entry file, connects to a database, and exposes REST endpoints that I can test in Postman. Add basic validation and error handling, and include any middleware needed for things like auth or request checking if that makes sense for the app. Keep the structure simple and practical, with a few sample request files or examples I can use right away.
If you need to look up current docs online for anything, go ahead and do that. I mostly want something working end to end that feels like a solid MERN style backend I can build on later.
Are you gonna build this?
make sure you review the code using coderabbit