{"id":19107100,"url":"https://github.com/cliffcrerar/app-engine-demo","last_synced_at":"2026-05-18T07:35:07.578Z","repository":{"id":42292857,"uuid":"242518100","full_name":"CliffCrerar/app-engine-demo","owner":"CliffCrerar","description":"Google Cloud Platform: App Engine Demo with Express.js and Pug","archived":false,"fork":false,"pushed_at":"2022-12-12T02:29:18.000Z","size":3743,"stargazers_count":0,"open_issues_count":4,"forks_count":0,"subscribers_count":2,"default_branch":"master","last_synced_at":"2025-02-22T10:31:18.038Z","etag":null,"topics":["docker","dockerfile","gcloud","gcloud-sdk","google-cloud","google-cloud-platform"],"latest_commit_sha":null,"homepage":"https://cloud-run-demo.infinityarc.net","language":"JavaScript","has_issues":false,"has_wiki":null,"has_pages":null,"mirror_url":null,"source_name":null,"license":null,"status":null,"scm":"git","pull_requests_enabled":true,"icon_url":"https://github.com/CliffCrerar.png","metadata":{"files":{"readme":"README.md","changelog":null,"contributing":null,"funding":null,"license":null,"code_of_conduct":null,"threat_model":null,"audit":null,"citation":null,"codeowners":null,"security":"SECURITY.md","support":null}},"created_at":"2020-02-23T13:03:21.000Z","updated_at":"2021-03-13T02:29:27.000Z","dependencies_parsed_at":"2023-01-27T11:31:05.709Z","dependency_job_id":null,"html_url":"https://github.com/CliffCrerar/app-engine-demo","commit_stats":null,"previous_names":[],"tags_count":1,"template":false,"template_full_name":null,"purl":"pkg:github/CliffCrerar/app-engine-demo","repository_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/CliffCrerar%2Fapp-engine-demo","tags_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/CliffCrerar%2Fapp-engine-demo/tags","releases_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/CliffCrerar%2Fapp-engine-demo/releases","manifests_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/CliffCrerar%2Fapp-engine-demo/manifests","owner_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/owners/CliffCrerar","download_url":"https://codeload.github.com/CliffCrerar/app-engine-demo/tar.gz/refs/heads/master","sbom_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/CliffCrerar%2Fapp-engine-demo/sbom","scorecard":null,"host":{"name":"GitHub","url":"https://github.com","kind":"github","repositories_count":286080680,"owners_count":33169369,"icon_url":"https://github.com/github.png","version":null,"created_at":"2022-05-30T11:31:42.601Z","updated_at":"2026-05-18T05:43:36.989Z","status":"ssl_error","status_checked_at":"2026-05-18T05:43:19.133Z","response_time":71,"last_error":"SSL_read: unexpected eof while reading","robots_txt_status":"success","robots_txt_updated_at":"2025-07-24T06:49:26.215Z","robots_txt_url":"https://github.com/robots.txt","online":false,"can_crawl_api":true,"host_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub","repositories_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories","repository_names_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repository_names","owners_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/owners"}},"keywords":["docker","dockerfile","gcloud","gcloud-sdk","google-cloud","google-cloud-platform"],"created_at":"2024-11-09T04:11:05.088Z","updated_at":"2026-05-18T07:35:07.548Z","avatar_url":"https://github.com/CliffCrerar.png","language":"JavaScript","funding_links":[],"categories":[],"sub_categories":[],"readme":"# Google Cloud: Cloud - Run \n\n\u003e Author: C. Crerar\n\nThis is a demo of the usage of `Google Cloud Platform` [App Engine Service](https://cloud.google.com/run).\n\n![Mobile First](https://cdn-cloudflare.ga/assets/mobile-first/mobile-first-003.jpg)\n\nIt is a `mobile first` application that uses `Node.js` version of the service and sports a custom `Express.js` application that implements `pug` as the view engine.\n\nAlong with this it also implements a `CI/CD` pipeline that automatically re-deploys the application after passing as series of tests.\n\n\u003e NOTE: This instruction assumes that a `google cloud platform` `billing account` is registered with an existing `project`. To run this container in google cloud platform requires a `gcp project id` id to exist prior to following the below instructions. To get started with google cloud platform please visit [google cloud platform](https://cloud.google.com).\n\nPrerequisites:\n1. Node.js\n1. Docker Desktop\n2. gcloud account\n3. gcloud sdk\n\n### SDK Authentication\n\nIf the SDK is installed run `gcloud config` and follow the prompts. (note: you first need a google cloud account for this to work.)\n\n### CI CD - Build and deploy\n\nsee `cloudbuild.yaml`\n\n### Manual deployment\n\n##### SCRIPTS\n\nSet the below in the package.json\n\n```json\n    \"submit\": \"gcloud builds submit --tag gcr.io/[PROJECT-ID]/[IMAGE]\",\n    \"deploy\":\"gcloud run deploy express --image gcr.io/[PROJECT-ID]/[IMAGE]\"\n```\n\nReplace `[PROJECT-ID]` and `[IMAGE]` with the google cloud project name and the desired image name.\n\n\u003e Building the container using cloud build\n\n```\nnpm run submit\n```\n\n\u003e Deploying the built container\n\n```\nnpm run deploy\n```\n\n### Build locally and push to google cloud platform `container registry`\n```\n docker build . --tag gcr.io/[PROJECT-ID]/[IMAGE]\n```\nReplace `[PROJECT-ID]` with your Google Cloud project ID and replace `[IMAGE]` with the image name of your choice.\nIf you have not yet configured Docker to use the gcloud command-line tool to authenticate requests to Container Registry, do so now using the command:\n\n gcloud auth configure-docker\n\nYou need to do this before you can push or pull images using Docker. You only need to do it once.\nPush the container image to Container Registry:\n\n `docker push gcr.io/[PROJECT-ID]/[IMAGE]`\n\nReplace `[PROJECT-ID]` with your Google Cloud project ID and replace `[IMAGE]` with the image name you chose when you invoked docker build.\n","project_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Fcliffcrerar%2Fapp-engine-demo","html_url":"https://awesome.ecosyste.ms/projects/github.com%2Fcliffcrerar%2Fapp-engine-demo","lists_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Fcliffcrerar%2Fapp-engine-demo/lists"}