Serverless Applications with Node.js walks you through building serverless apps on AWS using JavaScript. Inside, you'll discover what Claudia.js brings to the table as you build and deploy a scalable event-based serverless application, based around a pizzeria that's fully integrated with AWS services, including Lambda and API Gateway. Each chapter is filled with exercises, examples, tips, and more to make sure you're ready to bring what you've learned into your own work.
Foreword by Gojko Adzic.
About the Technology
The benefits of cloud-hosted serverless web apps are undeniable: lower complexity, quicker time to market, and easier scalability than traditional, server-dependent designs. And thanks to JavaScript support in AWS Lambda and powerful new serverless API tools like the Claudia.js library, you can build and deploy serverless apps end to end without learning a new language.
About the Book
Serverless Applications with Node.js teaches you to design and build serverless web apps on AWS using JavaScript, Node, and Claudia.js. You'll master the basics of writing AWS Lambda functions, along with core serverless patterns like API Gateway. Along the way, you'll practice your new skills by building a working chatbot and a voice assistant with Amazon Alexa. You'll also discover techniques for migrating existing apps to a serverless platform.
What's inside
• Authentication and database storage
• Asynchronous functions
• Interesting real-world examples
• Developing serverless microservices
About the Reader
For web developers comfortable with JavaScript and Node.js.
About the Author
Slobodan Stojanović and Aleksandar Simović are AWS Serverless Heroes and core contributors to the Claudia.js project. They are also coauthors of Desole, an open source serverless errortracking tool, and the lead developers of Claudia Bot Builder.
Author(s): Slobodan Stojanovic, Aleksandar Simovic
Edition: 1
Publisher: Manning Publications
Year: 2019
Language: English
Commentary: True PDF
Pages: 352
City: Shelter Island, NY
Tags: Amazon Web Services; Cloud Computing; Debugging; Chatbots; JavaScript; Web Applications; Amazon Alexa; Asynchronous Programming; Node.js; Unit Testing; Integration Testing; Testing; AWS Lambda; Claudia.js; Serverless Applications; Twilio; MongoDB
PART 1. Serverless pizzeria
1. Introduction to serverless with Claudia
2. Building your first serverless API
3. Asynchronous work is easy, we Promise()
4. Pizza delivery: Connecting an external service
5. Houston, we have a problem!
6. Level up your API
7. Working with files
PART 2. Let's talk
8. When pizza is one message away: Chatbots
9. Typing... Async and delayed responses
10. Jarvis, I mean Alexa, order me a pizza
11. Testing, Testing, 1, 2, 3
12. Paying for pizza
13. Migrating your existing Express.js app to AWS Lambda
14. Migrating to serverless
15. Real-world case studies
appendix A. Installation and configuration
appendix B. Facebook Messenger, Twilio, and Alexa configuration
appendix C. Stripe and MongoDB setup
appendix D. The pizza recipe