Movatterモバイル変換


[0]ホーム

URL:


Skip to content

Navigation Menu

Sign in
Appearance settings

Search code, repositories, users, issues, pull requests...

Provide feedback

We read every piece of feedback, and take your input very seriously.

Saved searches

Use saved searches to filter your results more quickly

Sign up
Appearance settings

Node.js samples for Google Cloud Platform products.

License

NotificationsYou must be signed in to change notification settings

GoogleCloudPlatform/nodejs-docs-samples

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 

Google Cloud Platform logo

Google Cloud Platform Node.js Samples

Node.js samples forGoogle Cloud Platform products.

Seecloud.google.com/nodejs to get up and running with Node.json Google Cloud Platform.

To browse documentation pages that use the samples found in this repository,visit theGoogle Cloud Samples page.

Setup

  1. InstallNode.js version 18 or greater

  2. Install theGoogle Cloud CLI (gcloud)

  3. Clone this repository:

     git clone https://github.com/GoogleCloudPlatform/nodejs-docs-samples.git
  4. Obtain authentication credentials.

    Create local credentials by running the following command and following theoauth2 flow (read more about the commandhere):

     gcloud auth application-default login

    Read more aboutGoogle Cloud Platform Authentication.

How to run a sample

  1. Change directory to one of the sample folders, e.g.run/helloworld:

     cd run/helloworld
  2. Install the sample's dependencies (see the sample's README for details):

     npm install
    • For samples with an available TypeScript variant, compile theTypeScript code:

          npm run build
  3. Run the sample:

     npm start [args]...

Other sample applications

Bookshelf tutorial app

TheBookshelf app is a sample web app written in Node.js thatshows you how to use a variety of Google Cloud Platform features.

View thetutorial or thesource code.

Contributing

Contributions welcome! See theContributing Guide.

About

Node.js samples for Google Cloud Platform products.

Topics

Resources

License

Code of conduct

Contributing

Security policy

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published

[8]ページ先頭

©2009-2025 Movatter.jp