An OpenFaaS function that returns HTML
MIT License
An OpenFaaS function that returns HTML
# faas template pull https://github.com/openfaas-incubator/node8-express-template
The template is set to build on ARMHF/Raspberry Pi so if you're on a PC change that by updating the stack.yml file:
template: node8-express
Edit stack.yml and change alexellis2/ to your own account
# faas build \
&& faas push \
&& faas deploy
You can now open the function in a web-browser.
Edit the handler.js function and build/push/deploy the function again.