3 ms·
I deployed a couple AWS lambda endpoints for very low-volume tasks using claudia.js - Claudia greatly reduces the setup overhead for sane REST endpoints. It c
by thom_nic 9y ago
I deployed a couple AWS lambda endpoints for very low-volume tasks using claudia.js - Claudia greatly reduces the setup overhead for sane REST endpoints. It creates the correct IAM permissions, gateway API and mappings.
Claudia.js also has an API layer that makes it look very similar to express.js versus the weird API that Amazon provides. I would not use lambda + JS without claudia.
For usage scenarios, one endpoint is used for a "contact us" form on a static website, another we use to transform requests to fetch and store artifacts on S3. I can't speak toward latency or high volume but since I've set them up I've been able to pretty much forget about them and they work as intended.
- htormey 9y agoOh claudia sounds interesting. I'm a mobile developer who's used express/node before. The hardest thing for me when I was cobbling a backend together with lambda/dynamodb was unterstanding the permission system and debugging it when I configured it wrong. Lots of the examples and articles around this process are out of date and AWS's web front end can be painful to deal with. That said, when everything was setup, it was pretty straight forward to maintain. Do you have any links to good tutorials on Claudia? I'd love to setup a contact me form using lambda for a project I'm working on. Also, do you know how dos Claudia compare to stuff like serverless.js?
- simalexan 9y agoHey, one of the guys from Claudia here. You can have tutorials and examples on the : - Claudia.js website - https://claudiajs.com https://claudiajs.com - Claudia Github examples - https://github.com/claudiajs/example-projects https://github.com/claudiajs/example-projects The purpose of Claudia.js is just to make it super easy to develop and deploy your applications on AWS Lambdas, API Gateway, also ease up the work with DynamoDb, AWS IoT, Alexa and so on. There are two additional libraries: Claudia API Builder and Claudia Bot Builder, to ease up API and chat bot development and deployment. Regarding the contract form - the best is to create a single service that will handle all the contract form requests. At that point, you can either connect it to DynamoDb, or even call some other data storage / service. Both Serverless and Claudia have their points where they shine. For a better understanding of their comparison, you can read about it in the Claudia FAQ - https://github.com/claudiajs/claudia/blob/master/FAQ.md#how-does-it-compare-to- https://github.com/claudiajs/claudia/blob/master/FAQ.md#how-...
- htormey 9y agoAwesome answer, thanks!