{"id":21888694,"url":"https://github.com/swisscom/cf-sample-app-nodejs-mysql","last_synced_at":"2026-01-26T22:53:32.747Z","repository":{"id":73689674,"uuid":"165845439","full_name":"swisscom/cf-sample-app-nodejs-mysql","owner":"swisscom","description":"Sample Cloud Foundry Node.js App with mTLS MySQL","archived":false,"fork":false,"pushed_at":"2024-10-16T15:16:26.000Z","size":1263,"stargazers_count":0,"open_issues_count":0,"forks_count":2,"subscribers_count":19,"default_branch":"master","last_synced_at":"2025-03-04T22:02:05.487Z","etag":null,"topics":[],"latest_commit_sha":null,"homepage":null,"language":"HTML","has_issues":true,"has_wiki":null,"has_pages":null,"mirror_url":null,"source_name":null,"license":"mit","status":null,"scm":"git","pull_requests_enabled":true,"icon_url":"https://github.com/swisscom.png","metadata":{"files":{"readme":"README.md","changelog":null,"contributing":"CONTRIBUTING.md","funding":null,"license":"LICENSE","code_of_conduct":"CODE_OF_CONDUCT.md","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}},"created_at":"2019-01-15T12:15:10.000Z","updated_at":"2024-10-16T15:16:29.000Z","dependencies_parsed_at":"2024-10-18T06:48:36.773Z","dependency_job_id":null,"html_url":"https://github.com/swisscom/cf-sample-app-nodejs-mysql","commit_stats":null,"previous_names":[],"tags_count":0,"template":false,"template_full_name":null,"purl":"pkg:github/swisscom/cf-sample-app-nodejs-mysql","repository_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/swisscom%2Fcf-sample-app-nodejs-mysql","tags_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/swisscom%2Fcf-sample-app-nodejs-mysql/tags","releases_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/swisscom%2Fcf-sample-app-nodejs-mysql/releases","manifests_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/swisscom%2Fcf-sample-app-nodejs-mysql/manifests","owner_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/owners/swisscom","download_url":"https://codeload.github.com/swisscom/cf-sample-app-nodejs-mysql/tar.gz/refs/heads/master","sbom_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/swisscom%2Fcf-sample-app-nodejs-mysql/sbom","scorecard":null,"host":{"name":"GitHub","url":"https://github.com","kind":"github","repositories_count":286080680,"owners_count":28791162,"icon_url":"https://github.com/github.png","version":null,"created_at":"2022-05-30T11:31:42.601Z","updated_at":"2026-01-26T21:49:50.245Z","status":"ssl_error","status_checked_at":"2026-01-26T21:48:29.455Z","response_time":59,"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":[],"created_at":"2024-11-28T11:16:42.018Z","updated_at":"2026-01-26T22:53:32.734Z","avatar_url":"https://github.com/swisscom.png","language":"HTML","funding_links":[],"categories":[],"sub_categories":[],"readme":"# Node.js Sample MySQL App\nThis sample app is based on the Swisscom [Node.js Sample App](https://github.com/swisscom/cf-sample-app-nodejs.git) and adds a simple REST API showcasing the new MySQL service with mTLS connection.\n\nFollowing REST Endpoints are available:  \n`GET /mysql` Lists entries  \n`POST /mysql/:entry` (no body) Writes the entry in the path to the database.\n\n## Prerequisite\nMySQL Database `mysqldb` is created, this can be done as follows:\n```\ncf create-service mysql xsmall mysql-cluster\ncf create-service mysql-database default mysqldb -c \"{\\\"parent_reference\\\":\\\"$(cf service mysql-cluster --guid)\\\"}\"\n```\n\n## Deployment\nAll necessary config is taken care of, simply push the app with `cf push`.\n\nhttps://docs.cloudfoundry.org/buildpacks/node/node-tips.html\n\n","project_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Fswisscom%2Fcf-sample-app-nodejs-mysql","html_url":"https://awesome.ecosyste.ms/projects/github.com%2Fswisscom%2Fcf-sample-app-nodejs-mysql","lists_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Fswisscom%2Fcf-sample-app-nodejs-mysql/lists"}