CHAPTER 10

image

Connecting to a Data Store

If you are building an application with Node.js, you are almost inevitably going to need some form of data storage. This can be as simple as in-memory storage or any number of data storage solutions. The Node.js community has created many drivers and connectivity bridges for nearly any data store you might encounter in your application development. In this chapter you will investigate how to use Node.js to connect to many of these, including the following:

  • MySQL
  • Microsoft SQL Server
  • PostgreSQL
  • MongoDB
  • CouchDB
  • Redis
  • Cassandra

 Note  This chapter contains a wide variety of databases to utilize with Node.js. ...

Get Node.js Recipes: A Problem-Solution Approach 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.