Too Long; Didn't Read
In this article, we’re going to look in detail at 5 different ways to interact with your database using JavaScript. We’ll start with the lowest-level choice — SQL Commands — then move through to higher-level abstractions. All the code for this article is in this GitHub repository, and follow along with the instructions below. We'll use a trivial Express application hosted on Heroku as our example. The next step is to enable our web application to retrieve data from the database. We're going to use a database with two tables and some sample data.