Introducing Apex

Project structure

Apex project directory structure
console.log(‘start foo’)
exports.handle = function(e, ctx) {
console.log(‘processing event: %j’, e)
ctx.succeed({ hello: ‘from foo’ })

Quick deploys

Rollback support

Apex function rollback

Streaming invokes

exports.handle = function(e, ctx) {
ctx.succeed({ value: e.value.toUpperCase() })
“event”: {
“value”: “Tobi the Ferret”
$ apex invoke upper < request.json
{“value”:”TOBI THE FERRET”}
$ echo -n ‘{ “event”: { “value”: “{{name}}” } }’ | phony | apex invoke upper{“value”:”BERNEICE LOVE”}
{“value”:”VINCENZO DIAZ”}
{“value”:”GINO LOGAN”}
{“value”:”TEREASA RHODES”}

Dry run

Deleting functions

Log tailing

Runtimes and Golang support

$ apex build <name> >





Code. Photography. Art.

Love podcasts or audiobooks? Learn on the go with our new app.

Get the Medium app

A button that says 'Download on the App Store', and if clicked it will lead you to the iOS App store
A button that says 'Get it on, Google Play', and if clicked it will lead you to the Google Play store