"Cloud Functions" Starter Kit with Kotlin.
$ ./gradlew runFunction -Prun.functionTarget=com.kazakago.cloud_functions_starter.Application
$ curl http://localhost:8080/
- Install gcloud CLI.
$ brew install --cask google-cloud-sdk
- 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