Skip to content

jonaskay/cola-inventory-functions

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

6 Commits
 
 
 
 
 
 
 
 
 
 
 
 

Repository files navigation

Cola Inventory Functions

This is a collection of Google Cloud Functions for Go that provide the backend for Cola Inventory PWA.

Folder structure

  • config/ provides shared functionality for the project.
  • deliver/, fetch/, order/ contain the deployable Google Cloud Functions.

Deploying

You can deploy the functions using the gcloud command-line tool:

$ gcloud functions deploy NAME --entry-point ENTRY_POINT --set-env-vars PROJECT_ID=YOUR_PROJECT_ID --runtime go111 --trigger-http

Development

Each function directory has a cmd/ directory used for local testing. By running cmd/main.go you can start a local HTTP server which registers the parent function as an HTTP handler.

About

Google Cloud Functions backend for Cola Inventory PWA

Resources

Stars

Watchers

Forks

Releases

No releases published

Packages

 
 
 

Languages