aglex
aglex copied to clipboard
wish: compare to express-on-serverless
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
.
It seems like a better solution, I'll check it. thanks!