Coder Social home page Coder Social logo

amandacq / 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 20.31 MB

Node.js samples for Google Cloud Platform products.

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

License: Apache License 2.0

JavaScript 86.44% CSS 0.39% HTML 1.83% Shell 6.87% PowerShell 0.29% Dockerfile 2.54% TypeScript 0.12% Pug 1.52%

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. datastore:

     cd datastore/
    
  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.

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 averikitsch avatar justinbeckwith avatar noerog avatar grant avatar grayside avatar nareshqlogic avatar sofisl avatar elibixby avatar steren avatar avaksman avatar hongalex avatar jsimonweb avatar shubha-rajan avatar walterhub avatar broady avatar leahecole avatar navinger avatar jeffmendoza avatar tswast avatar ricalo avatar kurtisvg avatar ericschmidtatwork avatar amygdala avatar jerjou avatar yuriatgoogle 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.