/nodejs-getting-started

A tutorial for creating a complete application using Node.js on Google Cloud Platform

Primary LanguageJavaScriptApache License 2.0Apache-2.0

Getting started with Node.js on Google Cloud Platform

Build Status Coverage Status

This repository contains the complete sample code for the Node.js Getting Started on Google Cloud Platform tutorials. Please refer to the tutorials for instructions on configuring, running, and deploying these samples.

The code for each tutorial is in an individual folder in this repository.

Tutorial Folder
Hello world 1-hello-world
Structured data 2-structured-data
Cloud Storage 3-binary-data
Authenticating users 4-auth
Logging app events 5-logging
Using Cloud Pub/Sub 6-pubsub
Deploying to Google Compute Engine 7-gce

Contributing changes

Run the tests

  • Make sure you're authenticated with the gcloud sdk and your gcloud project has enabled all the APIs used by these tutorials.
  • Make sure you've got the required environment variables set. (Take a look at the various config.js files.)
  • git clone git@github.com:GoogleCloudPlatform/nodejs-getting-started.git
  • cd nodejs-getting-started
  • npm install
  • npm test

Licensing