The idea is to run a generic GraphQL server configured with a schema file/URL and proxy any request to a specific function provided by OpenFaaS.
brew install faas-clidocker swarm init
yarn deploy:localfaas-cli buildfaas-cli deployyarn startGoto http://localhost:4000/ and send a query to the GraphQL server:
query {
greet(name: "OpenFaaS")
}Goto http://127.0.0.1:8080/ui/ to see the OpenFaaS dashboard.