Edit on github

#Hello World Node.js Example

Make sure serverless is installed and you have setup your credentials.

#1. Create a service

serverless create --template google-nodejs --path my-service

#2. Install Provider Plugin

npm install in the service directory.

#3. Update the provider property

Update the credentials and your project property in the serverless.yml file.

#4. Deploy

serverless deploy

#5. Invoke deployed function

serverless invoke --function first

In your terminal window you should see a response from the Google Cloud

Congrats you have deployed and ran your Hello World function!

Made with love in San Francisco + Atlanta, Austria, Germany, Pakistan, Poland, Nebraska & Thailand

Serverless, Inc. © 2018

Join our newsletter and get the latest news about Serverless products and happenings. #noSpamWePromise