shilpakrishnanunni/java_spring_crud ? reverse-engineered prompt
Reverse engineered prompt
Build me a simple Spring Boot CRUD API backed by PostgreSQL, with everything easy to run in Docker. I want to be able to start the whole thing with Docker Compose, have the database come up automatically, and include pgAdmin so I can inspect the data in a browser.
Make it a small starter project with clean endpoints for creating, reading, updating, and deleting records, plus a basic database seed that runs the first time the database volume is created. Keep it simple and beginner friendly, since this is basically a first Spring Boot project.
I’d also like the app to work locally without Docker if needed, using the Maven wrapper, and please include the usual config files so I can copy a .env file, set the database name, user, and password, and run it right away. If you need to check current Spring Boot or Docker setup details, look up the latest docs online.
Are you gonna build this?
make sure you review the code using coderabbit