Although document databases (Like MongoDB) are popular these days, SQL based databases are still the ultimate way to store and manipulate data with Postgres being the best of them. So that's what we use here. To continue with this tutorial you are going to need to be a little comfortable with Postgres and have it installed and running. You should also be comfortable using the psql command line tool or pgAdmin. Let's continue!
This is a companion discussion topic for the original entry at https://www.simplecode.io/blog/create-a-rest-api-part-2-postgresql-with-knex-setup