node8-express-template icon indicating copy to clipboard operation
node8-express-template copied to clipboard

Node.js 8 template for OpenFaaS with HTTP via Express.js

Results 6 node8-express-template issues
Sort by recently updated
recently updated
newest added

## Expected Behaviour The following code snippet should return a 501 status code along with the error message. ```js module.exports = (event, context) => { context .status(501) .fail('An error occurred');...

While it would be nice if all JSON payloads were under 100KB, that won't be the case 100% of the time. Express 4 uses the [body-parser](https://github.com/expressjs/body-parser#limit) package to decode JSON...

design/review
proposal

Node 10 will be released on the [2018-10-30](https://github.com/nodejs/Release) and will become the new LTS. If that happens we should update the base image to Node 10. Also it might be...

question
design/review

Currently, we already configure the log level of NPM and further only install production (runtime) dependency. I suggest the default setting of `NODE_ENV` to `production` as this will increase the...

Hi there, When using OpenFaaS and Node.js to build an API accessible by Javascript running in the browser, browsers will make a preflight OPTIONS call prior to a POST. As...

design/review

Simple two line fix that enables the function developer to write to the response headers for the OPTIONS verb in the same way they already could for GET and POST....