leetjourney/taskmanager ? reverse-engineered prompt
Reverse engineered prompt
Build me a Spring Boot task manager API in Java 21 that lets me create, view, update, delete, and search tasks.
I want tasks to have a title, description, completed status, creation date, and an optional category, and I want categories to be easy to create and fetch too. Please include paginated and sortable task lists, search by title and completion status, and endpoints for getting tasks by completed or not completed. Add basic input validation and make sure errors come back nicely with one global error handler.
I also want a simple app info endpoint that returns the app name, version, and max tasks per page, plus a more detailed info endpoint. Use an in memory H2 database for local development, include the H2 console, and expose Spring Boot Actuator endpoints for health, info, metrics, env, beans, and mappings. Make it runnable with Maven and keep the API clean and RESTful. If you need to check current Spring Boot docs online, go ahead and do that.
Are you gonna build this?
make sure you review the code using coderabbit