News for hackers. Stuff that matters.
Re:Going Serverless: Migrating an Express App to AWS API Gat... by JohnnyConatus on Tuesday October 11, 2016 @09:47AM (#12684300)
How does this work, if at all, for local development? Is there a pseudo-Lambda server that runs locally?

If not, this introduces yet another environment variable or it requires changes to be pushed constantly to Lamba for test.

Re:Going Serverless: Migrating an Express App to AWS API Gat... by breandr on Tuesday October 11, 2016 @10:12AM (#12684497)
Check out our example on github https://github.com/awslabs/aws-serverless-express/tree/maste.... The lambda wrapper is very thin (4 LOC). So you have two options: run/test your express app locally as you always would, or use the provided `npm run local` command which simulates the API Gateway+Lambda part (you can modify the `api-gateway-event.json` to change the "request" from API Gateway). This is primarily an example and starting point, and there is much more you could do to improve this process.