Chapter 5. Programming RethinkDB in Node.js
In the previous chapters, you learned to interact with RethinkDB by running queries through the web interface; however, while this can be useful for testing purposes, it's not very efficient when using the database for production purposes.
If you're working on a web application, you typically want to incorporate the database programming within your application logic usually on the backend. This is one of the reasons why databases offer drivers, which are modules that allow you to access the database from your favorite programming language. Probably, the two most common languages used for backend programming are Python and Node.js, and you'll be happy to know that RethinkDB provides official drivers for both these languages.
In this chapter, we will focus on Node.js and understand how to interface it with RethinkDB.
In this chapter, you will also learn the following:
- How Node.js works and why it's so popular
- How to install...