News for hackers. Stuff that matters.
Re:Full Guide to Developing REST API’s with AWS API Gateway ... by Lord_Zero on Monday May 14, 2018 @10:30AM (#17065843)
If using NodeJS there is a very similar package to zappa called Serverless https://serverless.com/

One thing I would improve with the authors article is he crammed a giant conditional statement on the http-method inside his one function. Serverless makes it easy to bundle a single function per HTTP method and even share common code between them. You can build out a whole application as a single npm package.

Bonuses include plugins for serverless that let you unit test your handlers, run a simulated APIG/Lambda/Dynamo environment locally for development, plugins that let you interact more deeply with AWS like assigning a custom domain to your APIG.

Example apps: https://github.com/serverless/examples

Re:Full Guide to Developing REST API’s with AWS API Gateway ... by dschep on Monday May 14, 2018 @04:03PM (#17068955)
Serverless Framework is also great for Python if you're not porting a WSGI application. Plug/Disclaimer: I'm the creator/maintainer of the defacto python dependency packaging plugin for serverless[0]

[0] https://github.com/UnitedIncome/serverless-python-requiremen...

Re:Full Guide to Developing REST API’s with AWS API Gateway ... by bbrock25 on Monday May 14, 2018 @10:49AM (#17066001)
+1 for serverless. Have also used it extensively for building python applications on AWS lambda.
Re:Full Guide to Developing REST API’s with AWS API Gateway ... by Terr_ on Monday May 14, 2018 @12:37PM (#17066896)
I'm currently working on a project where -- in serverless.yml -- a single API gateway path for all HTTP methods leads to a Flask app... largely because this scheme seems much much easier and faster to test and develop locally.

Are there any particular benefits to exporting and reimplementing all of that routing and organizational logic into instructions that "program" the API Gateway instead?

In this particular case, the API is solely for external consumption by a third party

Re:Full Guide to Developing REST API’s with AWS API Gateway ... by k__ on Monday May 14, 2018 @11:17AM (#17066222)
I went for AWS SAM, but it's still lacking behind Serverless.