An OpenFaaS function to generate the first N fibonacci numbers
$ faas-cli -action build -f ./stack.yml
$ faas-cli -action deploy -f ./stack.yml
You can execute the function like this:
$ curl http://localhost:8080/function/fib -d "10"
(or use the FaaS UI to send the URL)