Skip to content

Matthelonianxl/nodejs-docs-samples

This branch is 1 commit ahead of Ethernodes-org/nodejs-docs-samples:master.

Folders and files

NameName
Last commit message
Last commit date
Apr 27, 2020
May 21, 2020
May 26, 2020
May 18, 2020
May 26, 2020
Apr 9, 2020
May 26, 2020
Apr 27, 2020
Apr 30, 2020
Apr 30, 2020
May 11, 2020
May 26, 2020
May 27, 2020
May 27, 2020
Nov 17, 2020
Mar 24, 2020
Apr 27, 2020
May 20, 2020
May 20, 2020
Apr 13, 2020
Apr 19, 2020
Apr 19, 2020
Aug 23, 2017
Apr 19, 2020
Apr 19, 2020
May 21, 2020
Jun 5, 2018
May 8, 2020
Jun 5, 2018
Mar 11, 2020
May 12, 2020
Oct 23, 2018

Repository files navigation

Google Cloud Platform logo

Google Cloud Platform Node.js Samples Slack

Node.js samples for Google Cloud Platform products.

See cloud.google.com/nodejs to get up and running with Node.js on Google Cloud Platform.

Setup

Prerequisites

  1. Install Node.js version 10 or greater

  2. Clone this repository:

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

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

     gcloud auth application-default login
    

    Read more about Google Cloud Platform Authentication.

How to run a sample

  1. Change directory to one of the sample folders, e.g. storage-transfer:

     cd storage-transfer/
    
  2. Install the sample's dependencies (see the sample's README for details):

     npm install
    
  3. Run the sample:

     node sample_file.js [args]...
    

Other sample applications

Bookshelf tutorial app

The Bookshelf app is a sample web app written in Node.js that shows you how to use a variety of Google Cloud Platform features.

View the tutorial or the source code.

Node.js Codelab

In the Node.js Web App Google Cloud Platform codelab, you learn how to integrate Google Cloud Platform services into a Node.js web application to store data, upload images, and authenticate users.

View the tutorial or the source code.

Contributing

Contributions welcome! See the Contributing Guide.

About

Node.js samples for Google Cloud Platform products.

Resources

License

Code of conduct

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published

Languages

  • JavaScript 93.7%
  • Shell 3.1%
  • HTML 1.6%
  • Dockerfile 1.1%
  • PowerShell 0.2%
  • CSS 0.2%
  • TypeScript 0.1%