nagasathya10/devops-ci-cd-k8s-pipeline ? reverse-engineered prompt

Reverse engineered prompt

Build me a small Flask app that acts like a todo API with a few simple endpoints, like checking status, listing todos, adding a todo, getting one todo by id, plus health and metrics pages. Keep it lightweight and in memory, no database needed.

I also want the full DevOps setup around it, with unit tests, a Jenkins pipeline, GitHub Actions CI, a Makefile for common commands, and a Docker image that can run the app cleanly. Set it up so it can be deployed with Kubernetes using a service, config settings, health checks, and multiple replicas. Include Ansible for basic server setup and a few helper scripts for testing endpoints, scaling, and rollback demos.

Make it feel like a complete class project or portfolio repo, with everything wired together so I can run the app locally, test it, build it, and deploy it. If you need current docs for anything, look them up online.

Are you gonna build this?

make sure you review the code using coderabbit

Try freeSponsored — opens CodeRabbit in a new tab