Chapter 9. Database

This chapter covers

  • Fundamentals of Firebase
  • Using Firebase in a serverless application

Most applications need to store data and, in most cases, a database is a commonsense solution. In this chapter we introduce Firebase as our database of choice. Firebase is a NoSQL database that has great features such as real-time streaming using WebSockets, offline capabilities, and a declarative security model. Firebase is great for quickly getting started, it scales well, and it’s immediately familiar to anyone who understands JSON.

As with most things in software development, the choice of a database should depend on your requirements. If your application is going to work with relational data, use a relational database. In a ...

Get Serverless Architectures on AWS 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.