{"id":21898141,"url":"https://github.com/cn-docker/microservices-demo-nodejs","last_synced_at":"2026-04-30T08:41:08.669Z","repository":{"id":35676522,"uuid":"167454694","full_name":"cn-docker/microservices-demo-nodejs","owner":"cn-docker","description":"Microservices Demo - Node.js","archived":false,"fork":false,"pushed_at":"2026-03-26T12:09:17.000Z","size":108,"stargazers_count":0,"open_issues_count":1,"forks_count":0,"subscribers_count":1,"default_branch":"main","last_synced_at":"2026-03-27T04:53:27.470Z","etag":null,"topics":["demo-app","docker-image","microservice","nodejs"],"latest_commit_sha":null,"homepage":"https://hub.docker.com/r/cnservices/microservices-demo-nodejs/","language":"JavaScript","has_issues":true,"has_wiki":null,"has_pages":null,"mirror_url":null,"source_name":null,"license":"apache-2.0","status":null,"scm":"git","pull_requests_enabled":true,"icon_url":"https://github.com/cn-docker.png","metadata":{"files":{"readme":"README.md","changelog":null,"contributing":null,"funding":".github/FUNDING.yml","license":"LICENSE","code_of_conduct":null,"threat_model":null,"audit":null,"citation":null,"codeowners":null,"security":null,"support":null,"governance":null,"roadmap":null,"authors":null,"dei":null,"publiccode":null,"codemeta":null,"zenodo":null,"notice":null,"maintainers":null,"copyright":null,"agents":null,"dco":null,"cla":null},"funding":{"github":null,"patreon":"jnonino","open_collective":null,"ko_fi":null,"tidelift":null,"community_bridge":null,"liberapay":null,"issuehunt":null,"otechie":null,"custom":null}},"created_at":"2019-01-24T23:41:29.000Z","updated_at":"2026-03-26T12:08:50.000Z","dependencies_parsed_at":"2023-12-06T10:55:00.702Z","dependency_job_id":"647ce630-3caf-4c07-9ef1-f3b1ecd3b603","html_url":"https://github.com/cn-docker/microservices-demo-nodejs","commit_stats":null,"previous_names":[],"tags_count":71,"template":false,"template_full_name":null,"purl":"pkg:github/cn-docker/microservices-demo-nodejs","repository_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/cn-docker%2Fmicroservices-demo-nodejs","tags_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/cn-docker%2Fmicroservices-demo-nodejs/tags","releases_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/cn-docker%2Fmicroservices-demo-nodejs/releases","manifests_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/cn-docker%2Fmicroservices-demo-nodejs/manifests","owner_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/owners/cn-docker","download_url":"https://codeload.github.com/cn-docker/microservices-demo-nodejs/tar.gz/refs/heads/main","sbom_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/cn-docker%2Fmicroservices-demo-nodejs/sbom","scorecard":null,"host":{"name":"GitHub","url":"https://github.com","kind":"github","repositories_count":286080680,"owners_count":32459420,"icon_url":"https://github.com/github.png","version":null,"created_at":"2022-05-30T11:31:42.601Z","updated_at":"2026-04-29T22:27:22.272Z","status":"online","status_checked_at":"2026-04-30T02:00:05.929Z","response_time":57,"last_error":null,"robots_txt_status":"success","robots_txt_updated_at":"2025-07-24T06:49:26.215Z","robots_txt_url":"https://github.com/robots.txt","online":true,"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":["demo-app","docker-image","microservice","nodejs"],"created_at":"2024-11-28T14:24:07.377Z","updated_at":"2026-04-30T08:41:08.655Z","avatar_url":"https://github.com/cn-docker.png","language":"JavaScript","funding_links":["https://patreon.com/jnonino"],"categories":[],"sub_categories":[],"readme":"# Microservices Demo\n\n[![](https://img.shields.io/docker/pulls/cnservices/microservices-demo-nodejs)](https://hub.docker.com/r/cnservices/microservices-demo-nodejs/)\n[![](hhttps://img.shields.io/docker/build/cnservices/microservices-demo-nodejs)](https://hub.docker.com/r/cnservices/microservices-demo-nodejs/)\n[![](https://img.shields.io/docker/automated/cnservices/microservices-demo-nodejs)](https://hub.docker.com/r/cnservices/microservices-demo-nodejs/)\n[![](https://img.shields.io/docker/stars/cnservices/microservices-demo-nodejs)](https://hub.docker.com/r/cnservices/microservices-demo-nodejs/)\n[![](https://img.shields.io/github/license/cn-docker/microservices-demo-nodejs)](https://github.com/cn-docker/microservices-demo-nodejs)\n[![](https://img.shields.io/github/issues/cn-docker/microservices-demo-nodejs)](https://github.com/cn-docker/microservices-demo-nodejs)\n[![](https://img.shields.io/github/issues-closed/cn-docker/microservices-demo-nodejs)](https://github.com/cn-docker/microservices-demo-nodejs)\n[![](https://img.shields.io/github/languages/code-size/cn-docker/microservices-demo-nodejs)](https://github.com/cn-docker/microservices-demo-nodejs)\n[![](https://img.shields.io/github/repo-size/cn-docker/microservices-demo-nodejs)](https://github.com/cn-docker/microservices-demo-nodejs)\n\n## App1\n\nThis is a node.js app that serves a web page showing the ID of the docker container in which it is running.\nTo build this app, from the root of this repository just run:\n\n    docker build -t demo .\n\nTo create a container from that image, run:\n\n    docker run -p XXXX:3000 demo\n\nYou will be able to see the app going to:\n\n    localhost:XXXX\n\n### Rest API\n\nThe app contains three Rest API.\n\nIndex - Return the served site.\n\n    localhost:XXXX\n\nExit Successfully - Accessing this Rest API will make the container to exit successfully.\n\n    localhost:XXXX/exitSuccess\n\nExit With Error - Accessing this Rest API will make the container to exit with error.\n\n    localhost:XXXX/exitWithError\n","project_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Fcn-docker%2Fmicroservices-demo-nodejs","html_url":"https://awesome.ecosyste.ms/projects/github.com%2Fcn-docker%2Fmicroservices-demo-nodejs","lists_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Fcn-docker%2Fmicroservices-demo-nodejs/lists"}