Book description
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.
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 Authors
Slobodan Stojanović and Aleksandar Simović are AWS Serverless Heroes and core contributors to the Claudia.js project. They are also coauthors of Desolé, an open source serverless errortracking tool, and the lead developers of Claudia Bot Builder.
Quotes
Teaches you how to get simple stuff done in AWS Lambda quickly, without trying to change the way you structure or run projects.
- From the Foreword by Gojko Adzic, Neuri Consulting
A top-notch and hands-on resource written by world-renowned experts who will get you up to speed in no time with AWS Lambda using Claudia.js.
- Valentin Crettaz, Consulthys
One of the most comprehensive books published on the topic; contains a wealth of resources that you will not find online.
- Damian Esteban, BetterPT
Table of contents
- Titlepage
- Copyright
- preface
- acknowledgments
- about this book
- about the authors
- about the cover illustration
-
Part 1: Serverless pizzeria
- Chapter 1: Introduction to serverless with Claudia
- Chapter 2: Building your first serverless API
- Chapter 3: Asynchronous work is easy, we Promise()
- Chapter 4: Pizza delivery: Connecting an external service
- Chapter 5: Houston, we have a problem!
- Chapter 6: Level up your API
- Chapter 7: Working with files
-
Part 2: Let’s talk
- Chapter 8: When pizza is one message away: Chatbots
- Chapter 9: Typing... Async and delayed responses
- Chapter 10: Jarvis, I mean Alexa, order me a pizza
-
Part 3: Next steps
-
Chapter 11: Testing, Testing, 1, 2, 3
- 11.1 Testing server-hosted and serverless applications
- 11.2 How to approach testing serverless applications
- 11.3 Preparation
- 11.4 Unit tests
- 11.5 Mocking your serverless functions
- 11.6 Integration tests
- 11.7 Other types of automated testing
- 11.8 A step beyond: Writing testable serverless functions
- 11.9 Taste it!
- Summary
- Chapter 12: Paying for pizza
- Chapter 13: Migrating your existing Express.js app to AWS Lambda
- Chapter 14: Migrating to serverless
- Chapter 15: Real-world case studies
-
Chapter 11: Testing, Testing, 1, 2, 3
- Appendix A: Installation and configuration
- Appendix B: Facebook Messenger, Twilio, and Alexa configuration
- Appendix C: Stripe and MongoDB setup
- Appendix D: The pizza recipe
- Index
- List of Figures
- List of Tables
- List of Listings
Product information
- Title: Serverless Applications with Node.js
- Author(s):
- Release date: March 2019
- Publisher(s): Manning Publications
- ISBN: 9781617294723
You might also like
book
Advanced Node.js Development
Takes you through creating your own API, building a full real-time web app, securing your Node …
book
Node.js Web Development
Build scalable web applications using Node.js, Express.js, and the latest ECMAScript techniques, along with deploying applications …
book
Get Programming with Node.js
Get Programming with Node.js Get Programming with Node.js teaches you to write server-side code in JavaScript …
book
Node.js in Action, Second Edition
Node.js in Action, Second Edition is a thoroughly revised book based on the best-selling first edition. …