SummaryServerless 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.
Purchase of the print book includes a free eBook in PDF, Kindle, and ePub formats from Manning Publications.
About the TechnologyThe 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 BookServerless 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 ReaderFor web developers comfortable with JavaScript and Node.js.
About the AuthorSlobodan 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.
Table of ContentsPART 1 - Serverless pizzeria
- Introduction to serverless with Claudia
- Building your first serverless API
- Asynchronous work is easy, we Promise()
- Pizza delivery: Connecting an external service
- Houston, we have a problem!
- Level up your API
- Working with files
PART 2 - Let's talk
- When pizza is one message away: Chatbots
- Typing... Async and delayed responses
- Jarvis, I mean Alexa, order me a pizza
- Paying for pizza
- Migrating to serverless
- 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
Slobodan Stojanovic is CTO of Cloud Horizon, a software development studio based in Montreal Canada, and JS Belgrade meetups co-organizer. He is involved with a few open source projects, including Claudia.js. He is an AWS Serverless Hero and also a conference speaker.
Aleksandar Simovic is a consultant and senior software engineer at Science Exchange Inc, a scientific research marketplace company based in Palo Alto, California. He is a AWS Serverless Hero. Also, one of the co-organizers of JS Belgrade, one of the biggest JavaScript communities in South Europe. Aleksandar is a conference speaker and one of the authors of Claudia.js and Claudia Bot Builder, serverless development and deployment tools.