
Solving common issues when connecting locally run apps (In my case Strapi v4.x) to a production PostgreSQL database.
Introduction This article is for anyone aiming to connect to a production environment...
Tag archive

Introduction This article is for anyone aiming to connect to a production environment...
The Best Approach for Storing Data in a Database When it comes to storing data in a...
What do you know about solid, kiss and bunch of other things? Fug them. When you are writing any...
In this post I will teach you how to use mysql with knex.js 😊 Knex.js is a SQL query...
[Migrations] Setting up Create knexfile.js ./node_modules/.bin/knex init...
Have you ever wondered how to implement a reset password functionality on the server with NodeJS and...

So you've designed your database, built it and it's now running locally on your desktop with no error...
How to do upserts in Knex.js (PostgreSQL)

How to find one single record with a User model in Knex

How to keep database logic separate in a model file in a REST API

How to retrieve data from two join tables with Knex

How to retrieve data from two database tables with Knex