ram0verflow/todo-api-devops ? reverse-engineered prompt
Reverse engineered prompt
Build me a small Todo REST API in Java 17 with Spring Boot and Maven.
It should let me check the app status at the root path, list todos, get one todo by id, and add a todo with a title. Include a health endpoint for Kubernetes checks. I want it to feel like a real project, not just a toy, so add a few basic tests and make sure it can be built into a runnable jar.
Also set it up like a simple DevOps demo that goes all the way through a pipeline. I want a Jenkins build flow, GitHub Actions for the same kind of CI, a Docker image that runs the app cleanly, an Ansible playbook for configuring a target server or container, and Kubernetes files that deploy the app with probes and a service. If it makes sense, include a config setup so the app can read settings from Kubernetes. Use current docs online if you need to.
Are you gonna build this?
make sure you review the code using coderabbit