Swaroop772/test-crudapi — reverse-engineered prompt
Reverse engineered prompt
Build me a simple backend API from the starter code that is already in this repo. I want a basic CRUD app I can run locally and test with something like Postman, so it should let me create, view, update, list, and delete records for one straightforward resource. Keep it clean and beginner friendly, with sensible routes, request validation, clear error messages, and a simple data model.
Please wire up the usual things so it feels complete, including a health check or root route, environment based config if needed, and a few tests that show the main API flow works. If storage is not set up yet, use the simplest reasonable option for now and make it easy to swap later. Add short setup notes so I know how to install it, start it, and try the endpoints.
Use the existing TypeScript backend structure instead of starting from scratch, and look up current docs online if you need to.
Want more depth? Deep Reverse