Skip to content

Latest commit

 

History

History

node-micro-alt

Folders and files

NameName
Last commit message
Last commit date

parent directory

..
 
 
 
 
 
 
 
 
 
 
 
 
 
 

Node Micro Idiomatic

Run the micro programmatically.

This makes us of async/await and demonstrates a GraphQL query (bonus).

For an example using the micro binary and/or with a custom Node binary, check out the node-micro example.

Setup

$ yarn

Deploy

$ up

Notes

We use the fast-async Babel plugin (based on nodent) to compile away the async & await syntax into Promises. This is because Lambda supports Node v6.x (LTS), which does not support the syntax directly.