a simple way to run cloud serverless functions with http connections using cli deployments
- requires authentication
- npm parsing for quick cache library running
- instantiate behind a load balancer
$ node faas.js
$ curl --header "Content-Type: application/json" \
--request POST \
--data '{"bundleID":153,"functionName":"serverless", "args": [1,2]}' \
http://localhost:3000/run
{"status":200,"msg":"successfully run","response":"0.5\n"}%
can be performed while faas server is running
$ node cli.js write /js_imports/153.js