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 ...

Get Serverless Single Page Apps now with the O’Reilly learning platform.

O’Reilly members experience books, live events, courses curated by job role, and more from O’Reilly and nearly 200 top publishers.