Git Product home page Git Product logo

renovate-bot / nodejs-docs-samples Goto Github PK

View Code? Open in Web Editor NEW

This project forked from googlecloudplatform/nodejs-docs-samples

0.0 1.0 0.0 77.72 MB

Node.js samples for Google Cloud Platform products.

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

License: Apache License 2.0

PowerShell 0.04% Shell 1.14% JavaScript 96.56% HTML 0.68% CSS 0.06% TypeScript 0.50% Dockerfile 0.56% Pug 0.33% Procfile 0.01% Python 0.11% Makefile 0.01%

nodejs-docs-samples's Introduction

Google Cloud Platform logo

Google Cloud Platform Node.js Samples

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.

To browse documentation pages that use the samples found in this repository, visit the Google Cloud Samples page.

Setup

  1. Install Node.js version 14 or greater

  2. Install the Google Cloud CLI (gcloud)

  3. Clone this repository:

     git clone https://github.com/GoogleCloudPlatform/nodejs-docs-samples.git
    
  4. 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. run/helloworld:

     cd run/helloworld
    
  2. Install the sample's dependencies (see the sample's README for details):

     npm install
    
    • For samples with an available TypeScript variant, compile the TypeScript code:

          npm run build
      
  3. Run the sample:

     npm start [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

alexander-fenster avatar averikitsch avatar bcoe avatar dinesh-crest avatar fhinkel avatar gcf-owl-bot[bot] avatar gericdong avatar gguuss avatar grant avatar grayside avatar holtskinner avatar irataxy avatar jkwlui avatar jmdobry avatar jsimonweb avatar justinbeckwith avatar kweinmeister avatar munkhuushmgl avatar murog avatar nareshqlogic avatar nnegrey avatar noerog avatar pattishin avatar release-please[bot] avatar renovate-bot avatar renovate[bot] avatar shnatsel avatar sita04 avatar sofisl avatar yoshi-automation avatar

Watchers

 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.