Example GCP cloud functions app created for the following blog post.
https://kyan.com/news/accessing-a-gke-internal-service-from-the-api-gateway
This cloud function app connects to the Shop API application
https://github.com/ajazfarhad/shop-api
Use the following command to run the local web server:
bundle exec functions-framework-ruby --target shop-api-function
Default port number is 8080, but you can override it by specifying --port=3000 argument.
