O'Reilly logo

Serverless Single Page Apps by Ben Rady

Stay ahead with the world's most comprehensive technology and business learning platform.

With Safari, you learn the way you learn best. Get unlimited access to videos, live online training, learning paths, books, tutorials, and more.

Start Free Trial

No credit card required

Chapter 5Storing Data in DynamoDB

Everything we’ve built up until now has depended on what we’re about to do. We created an application that is hosted entirely in the browser and has no middle tier. We connected this application to Amazon Cognito to create an identity that we can use to access Amazon’s other web services directly. Now it’s time to connect to those services.

Storing data is something that most web applications do, whether they have a single page or many. In this chapter, you’ll see how serverless web apps can interact with Amazon’s DynamoDB database service. As we explore this approach, you’ll begin to understand the inherent trade-offs. You’ll see what steps are necessary to ensure data integrity, and you’ll learn how to structure ...

With Safari, you learn the way you learn best. Get unlimited access to videos, live online training, learning paths, books, interactive tutorials, and more.

Start Free Trial

No credit card required