GithubHelp home page GithubHelp logo

isabella232 / nodejs-docs-samples Goto Github PK

View Code? Open in Web Editor NEW

This project forked from googlecloudplatform/nodejs-docs-samples

0.0 0.0 0.0 16.54 MB

Node.js samples for Google Cloud Platform products.

Home Page: https://cloud.google.com/nodejs

License: Apache License 2.0

JavaScript 88.82% CSS 0.21% HTML 1.01% Shell 6.62% PowerShell 0.21% Dockerfile 1.81% TypeScript 0.09% Pug 1.24%

nodejs-docs-samples's Introduction

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.

nodejs-docs-samples's People

Contributors

jmdobry avatar renovate[bot] avatar renovate-bot avatar fhinkel avatar gguuss avatar noerog avatar grayside avatar nareshqlogic avatar grant avatar justinbeckwith avatar sofisl avatar averikitsch avatar elibixby avatar steren avatar avaksman avatar hongalex avatar jsimonweb avatar shubha-rajan avatar walterhub avatar broady avatar navinger avatar jeffmendoza avatar tswast avatar leahecole avatar ericschmidtatwork avatar amygdala avatar jerjou avatar kurtisvg avatar ricalo avatar kelsk avatar

Recommend Projects

  • React photo React

    A declarative, efficient, and flexible JavaScript library for building user interfaces.

  • Vue.js photo Vue.js

    ๐Ÿ–– Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.

  • Typescript photo Typescript

    TypeScript is a superset of JavaScript that compiles to clean JavaScript output.

  • TensorFlow photo TensorFlow

    An Open Source Machine Learning Framework for Everyone

  • Django photo Django

    The Web framework for perfectionists with deadlines.

  • D3 photo D3

    Bring data to life with SVG, Canvas and HTML. ๐Ÿ“Š๐Ÿ“ˆ๐ŸŽ‰

Recommend Topics

  • javascript

    JavaScript (JS) is a lightweight interpreted programming language with first-class functions.

  • web

    Some thing interesting about web. New door for the world.

  • server

    A server is a program made to process requests and deliver data to clients.

  • Machine learning

    Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.

  • Game

    Some thing interesting about game, make everyone happy.

Recommend Org

  • Facebook photo Facebook

    We are working to build community through open source technology. NB: members must have two-factor auth.

  • Microsoft photo Microsoft

    Open source projects and samples from Microsoft.

  • Google photo Google

    Google โค๏ธ Open Source for everyone.

  • D3 photo D3

    Data-Driven Documents codes.