KazaKago / cloud_functions_starter

"Cloud Functions" Starter Kit with Kotlin.

Geek Repo:Geek Repo

Github PK Tool:Github PK Tool

cloud_functions_starter

"Cloud Functions" Starter Kit with Kotlin.

Run Locally

$ ./gradlew runFunction -Prun.functionTarget=com.kazakago.cloud_functions_starter.Application
$ curl http://localhost:8080/

Deploy Cloud Functions

  1. Install gcloud CLI.
    • $ brew install --cask google-cloud-sdk
  2. Login account.
    • $ gcloud auth login
$ gcloud functions deploy cloud_functions_starter --project=kazakago-playground --entry-point=com.kazakago.cloud_functions_starter.Application --runtime=java11 --trigger-http --allow-unauthenticated

About

"Cloud Functions" Starter Kit with Kotlin.


Languages

Language:Kotlin 100.0%