mdyeamin/bookDrop-server — reverse-engineered prompt
Reverse engineered prompt
Build me a simple backend for a project called BookDrop. I want a small JavaScript server that feels ready to plug into a front end for a book app. It should expose clean JSON endpoints for the basics, like listing books, getting one book by id, adding new books, editing them, and deleting them. If it makes sense, include a simple way to search or filter too.
Please make it easy to run locally, with sensible environment settings, clear error messages, request validation, and a health check route. Make sure browser based apps can call it without problems. If data storage is needed, choose a straightforward option that is easy to understand and extend later. Keep the code organized and not overly complicated.
Also add a short README that explains how to start the server, what routes exist, and how to test them quickly. If anything important is missing, make a practical choice and keep going. You can look up current docs online if you need to.
Want more depth? Deep Reverse