Skip to content

Example of deploying Google Cloud Functions from monorepo

Notifications You must be signed in to change notification settings

productbrew/gcf-monorepo

Repository files navigation

GCF monorepo

Example repository to demonstrate how to work with Google Cloud function with monorepo.

🏃‍♂️ Getting started

  1. Install dependencies: yarn install

Local development

To run local function, you need to use dev script, for example:

yarn workspace @productbrew/funny-world dev

Then visit http://localhost:8080/ to see the function response.

Deployment

Run gcloud functions deploy This command will prepare the functions and deploy them.

yarn cli prepare-deploy funny-world

Remember to remove the changes after deployment!

About

Example of deploying Google Cloud Functions from monorepo

Resources

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published