aglex icon indicating copy to clipboard operation
aglex copied to clipboard

wish: compare to express-on-serverless

Open markstos opened this issue 8 years ago • 1 comments

Since this project started, AWS has added the new "proxy" feature to "AWS Gateway" and the serverless project has appeared as well. There's even a project called express on serverless that focuses on making Express easy on serverless.

With aglex there are several steps and a fair bit of syntax to remember for a basic deploy flow:

  • zip -r lambda.zip app.js lambda.js routes views node_modules
  • aglex --config aglex.yml lambda update --zip lambda.zip
  • aglex --config aglex.yml apigateway update
  • aglex --config aglex.yml apigateway deploy --stage dev

With express-on-serverless, it's just one easy to remember command:

  • serverless deploy

Also, the README says that JSON must always be returned here, while express-on-serverless does not have that restriction. It would be helpful if the docs clarified the benefits of using aglex over serverless.

markstos avatar Jan 23 '17 18:01 markstos

It seems like a better solution, I'll check it. thanks!

u-minor avatar Jan 30 '17 09:01 u-minor