An open API service indexing awesome lists of open source software.

https://github.com/kazakago/cloud_functions_starter

"Cloud Functions" Starter Kit with Kotlin.
https://github.com/kazakago/cloud_functions_starter

cloudfunctions kotlin

Last synced: 10 months ago
JSON representation

"Cloud Functions" Starter Kit with Kotlin.

Awesome Lists containing this project

README

          

# cloud_functions_starter
"Cloud Functions" Starter Kit with Kotlin.

## Run Locally

```sh
$ ./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`
1. Login account.
- `$ gcloud auth login`

```sh
$ gcloud functions deploy cloud_functions_starter --project=kazakago-playground --entry-point=com.kazakago.cloud_functions_starter.Application --runtime=java11 --trigger-http --allow-unauthenticated
```