shobo23/plain-mern-js-backend ? reverse-engineered prompt
Reverse engineered prompt
Build me a simple backend for a small item tracking app.
I want an Express and MongoDB API with full create, read, update, and delete support for items. Each item should have a name, description, and price, and I should be able to get all items, get one item by id, add a new item, edit an existing item, and delete an item. Please include a clean project setup with a MongoDB connection, route handlers, data model, and basic error handling so it feels ready to run right away.
Use a local env file for the database connection, and make it easy to start the server on localhost. If anything is unclear, make sensible choices and keep it simple. If you need to check current docs for the best way to wire things up, go ahead and look them up online.
Are you gonna build this?
make sure you review the code using coderabbit