{"id":15036751,"url":"https://github.com/googlecloudplatform/nodejs-docs-samples","last_synced_at":"2025-05-12T13:17:59.367Z","repository":{"id":31501623,"uuid":"35065891","full_name":"GoogleCloudPlatform/nodejs-docs-samples","owner":"GoogleCloudPlatform","description":"Node.js samples for Google Cloud Platform products.","archived":false,"fork":false,"pushed_at":"2025-05-09T18:00:24.000Z","size":85842,"stargazers_count":2871,"open_issues_count":44,"forks_count":1977,"subscribers_count":261,"default_branch":"main","last_synced_at":"2025-05-12T13:17:17.797Z","etag":null,"topics":["api","cloud","examples","google-cloud","javascript","nodejs","sample","samples"],"latest_commit_sha":null,"homepage":"https://cloud.google.com/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/GoogleCloudPlatform.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":"CODEOWNERS","security":"SECURITY.md","support":null,"governance":null,"roadmap":null,"authors":null,"dei":null,"publiccode":null,"codemeta":null,"zenodo":null}},"created_at":"2015-05-04T23:26:38.000Z","updated_at":"2025-05-07T22:15:48.000Z","dependencies_parsed_at":"2023-10-14T18:55:47.090Z","dependency_job_id":"ed375a15-02d6-4d1e-b8b9-372b1b0db8d3","html_url":"https://github.com/GoogleCloudPlatform/nodejs-docs-samples","commit_stats":{"total_commits":5618,"total_committers":379,"mean_commits":"14.823218997361478","dds":0.8335706657173372,"last_synced_commit":"c7ae7d6b1d4c0a40fd9dec47ac3a2ae062fef0bf"},"previous_names":[],"tags_count":0,"template":false,"template_full_name":null,"repository_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/GoogleCloudPlatform%2Fnodejs-docs-samples","tags_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/GoogleCloudPlatform%2Fnodejs-docs-samples/tags","releases_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/GoogleCloudPlatform%2Fnodejs-docs-samples/releases","manifests_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/GoogleCloudPlatform%2Fnodejs-docs-samples/manifests","owner_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/owners/GoogleCloudPlatform","download_url":"https://codeload.github.com/GoogleCloudPlatform/nodejs-docs-samples/tar.gz/refs/heads/main","host":{"name":"GitHub","url":"https://github.com","kind":"github","repositories_count":253745196,"owners_count":21957319,"icon_url":"https://github.com/github.png","version":null,"created_at":"2022-05-30T11:31:42.601Z","updated_at":"2022-07-04T15:15:14.044Z","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":["api","cloud","examples","google-cloud","javascript","nodejs","sample","samples"],"created_at":"2024-09-24T20:32:12.100Z","updated_at":"2025-05-12T13:17:59.336Z","avatar_url":"https://github.com/GoogleCloudPlatform.png","language":"JavaScript","readme":"\u003cimg src=\"https://avatars2.githubusercontent.com/u/2810941?v=3\u0026s=96\" alt=\"Google Cloud Platform logo\" title=\"Google Cloud Platform\" align=\"right\" height=\"96\" width=\"96\"/\u003e\n\n# Google Cloud Platform Node.js Samples\n\nNode.js samples for [Google Cloud Platform products][cloud].\n\nSee [cloud.google.com/nodejs][cloud_nodejs] to get up and running with Node.js\non Google Cloud Platform.\n\nTo browse documentation pages that use the samples found in this repository,\nvisit the [Google Cloud Samples][cloud_samples] page.\n\n[cloud]: https://cloud.google.com/\n[cloud_nodejs]: https://cloud.google.com/nodejs/\n[cloud_samples]: https://cloud.google.com/docs/samples?language=nodejs%2Ctypescript\n\n## Setup\n\n1. Install [Node.js version 18 or greater][node]\n1. Install the [Google Cloud CLI (gcloud)][gcloud]\n1. Clone this repository:\n\n        git clone https://github.com/GoogleCloudPlatform/nodejs-docs-samples.git\n\n1. Obtain authentication credentials.\n\n    Create local credentials by running the following command and following the\n    oauth2 flow (read more about the command [here][auth_command]):\n\n        gcloud auth application-default login\n\n    Read more about [Google Cloud Platform Authentication][gcp_auth].\n\n[node]: https://nodejs.org/\n[gcloud]: https://cloud.google.com/sdk/docs/install\n[auth_command]: https://cloud.google.com/sdk/gcloud/reference/auth/application-default/login\n[gcp_auth]: https://cloud.google.com/docs/authentication#projects_and_resources\n\n## How to run a sample\n\n1. Change directory to one of the sample folders, e.g. `run/helloworld`:\n\n        cd run/helloworld\n\n1. Install the sample's dependencies (see the sample's README for details):\n\n        npm install\n\n      * For samples with an available TypeScript variant, compile the \n      TypeScript code:\n   \n                npm run build\n\n1. Run the sample:\n\n        npm start [args]...\n\n## Other sample applications\n\n### Bookshelf tutorial app\n\nThe [Bookshelf app][bookshelf_docs] is a sample web app written in Node.js that\nshows you how to use a variety of Google Cloud Platform features.\n\nView the [tutorial][bookshelf_docs] or the [source code][bookshelf_code].\n\n[bookshelf_docs]: https://cloud.google.com/nodejs/getting-started/tutorial-app\n[bookshelf_code]: https://github.com/GoogleCloudPlatform/nodejs-getting-started\n\n## Contributing\n\nContributions welcome! See the [Contributing Guide][contrib].\n\n[contrib]: CONTRIBUTING.md\n","funding_links":[],"categories":[],"sub_categories":[],"project_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Fgooglecloudplatform%2Fnodejs-docs-samples","html_url":"https://awesome.ecosyste.ms/projects/github.com%2Fgooglecloudplatform%2Fnodejs-docs-samples","lists_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Fgooglecloudplatform%2Fnodejs-docs-samples/lists"}