RajanChettri/gce-devops-demo — reverse-engineered prompt
Reverse engineered prompt
Build me a small JavaScript web app that can be used as a DevOps demo on Google Cloud. It should have a simple server with one or two pages or endpoints that clearly show the app is running, like a home page with a version or environment label and a health check endpoint.
Please containerize it so it can run locally with Docker, and set up Google Cloud Build configs for a normal deployment and a development deployment. The goal is to show a basic workflow where code is built into a container and deployed to a Google Compute Engine setup.
Keep it easy to understand and document the commands to run locally and in Google Cloud. Use sensible defaults, environment variables where needed, and make the app reliable enough for a demo. Look up current Google Cloud docs online if you need to.
Want more depth? Deep Reverse