uday5252/MERN-Todoapp-Backend ? reverse-engineered prompt
Reverse engineered prompt
Build me the backend for a simple todo app.
I want a Node and JavaScript API that lets a user create, view, update, and delete todo items, with the data stored in a database. Set it up so the server starts cleanly, the routes are organized, and the data model is easy to work with. Please include basic configuration for the app, the todo model, and the API routes, and make sure it’s ready to be used by a frontend later.
Keep it straightforward and practical, with sensible error handling and clear responses from the API. If you need to check current best practices or a library detail, look up the latest docs online. I’m aiming for a solid working backend more than anything fancy.
Are you gonna build this?
make sure you review the code using coderabbit