vanuhanda/iqline-assessment — reverse-engineered prompt

Reverse engineered prompt

Build me a very simple calculator app that adds two numbers, but set it up like a small real world project with a separate frontend and backend service.

I want a tiny web page where someone can enter two values and click a button to see the sum. The frontend should call the backend through an API, and the frontend service should proxy that request instead of doing the math in the browser. The backend should expose a calculate endpoint and a health check endpoint.

Please make it easy to run locally with npm and also with Docker, and include a docker compose setup so both services can start together. I also want it ready to deploy to Kubernetes with basic manifests, ingress routing, and sensible defaults for ports and backend URL. Add tests for the backend and frontend, including an end to end check for the UI flow. If it fits, include a Jenkins pipeline that builds, tests, creates container images, and deploys on the main branch.

Keep the UI minimal and clean. Look up current docs online if you need to.

Want more depth? Deep Reverse