Skip to content
This repository was archived by the owner on Aug 29, 2023. It is now read-only.

mikaelvesavuori/gcp-functions-framework-node-demo

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

1 Commit
 
 
 
 
 
 
 
 
 
 
 
 
 
 

Repository files navigation

GCP Functions Framework Node Demo

Just a pre-packaged version of the official Google demo but with Node 12.

Prerequisites

  • You have a GCP account
  • You are logged in through your environment
  • You have set your variables as needed in deploy.sh

Instructions

Run locally

  • Install dependencies with npm install or yarn install.
  • Run npm start or yarn start
  • Call or visit endpoint; should be http://localhost:8080/

Deploy to GCP

Run deploy.sh. Your deployed URL will be in the format https://{REGION}-{PROJECT}.cloudfunctions.net/{FUNCTION}. Logs are available in the Logs view or through the Functions view.

Remove resources

Run teardown.sh. Make sure that any variables you have changed are updated in that script as well.

References

About

Just a pre-packaged version of the official Google demo but with Node 12.

Topics

Resources

Stars

Watchers

Forks