/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

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 Build Status
Hello world 1-hello-world Build Status
Structured data 2-structured-data Cloud SQL Build Status Datastore Build Status MongoDB Build Status
Cloud Storage 3-binary-data Cloud SQL Build Status Datastore Build Status MongoDB Build Status
Authenticating users 4-auth Cloud SQL Build Status Datastore Build Status MongoDB Build Status
Logging app events 5-logging Cloud SQL Build Status Datastore Build Status MongoDB Build Status
Using Cloud Pub/Sub 6-pubsub Cloud SQL Build Status Datastore Build Status MongoDB Build Status
Deploying to Google Compute Engine 7-gce Cloud SQL Build Status Datastore Build Status MongoDB Build Status
Deploying to Google Kubernetes Engine optional-kubernetes-engine Cloud SQL Build Status Datastore Build Status MongoDB Build Status

Contributing changes

Run the tests

  • Make sure you're authenticated with the gcloud SDK and your GCP 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