backend

How To Set Up TimescaleDB On macOS Effortlessly [Using Docker]

June 6, 2021 · 3 min read
Installing TimescaleDB on mac is easy. Simply install Timescale via Homebrew and you're all set up. Except you're not. If you need multiple local Timescale versions or you already have installed Postgres before, you're out of luck. There's an easier way to set up PostgreSQL with Timescale on Mac and to manage multiple versions: by using Docker.

How To Set Up Multiple PostgreSQL Versions On macOS With Docker

May 9, 2021 · 3 min read
If you want to get Postgres on macOS working, you can easily use `brew install postgres`. But this way also has its drawbacks. Managing multiple versions or doing major version upgrades becomes a pain. There's an easier way to set up PostgreSQL on Mac and to manage multiple versions: installing Postgres with Docker.

What's the difference between Authentication and Authorization?

May 2, 2021 · 1 min read
Don't use the word "auth". Unless everyone knows what you're referring to. There's authentication and then there's authorization. Let's look at the definitions of both and what to do instead of "auth".

How to set up PostgreSQL 12 on macOS Big Sur

April 18, 2021 · 3 min read
From starting a clean Mac to developing backends with Postgres with it takes some setup. At the end of this article, you'll have PostgreSQL version 12 set up on your mac, accepting local http connections with password auth.

A Simple Approach To Fullstack Error Handling

April 11, 2021 · 4 min read
Generic error messages suck. As a user, we encounter them all the time. “An error occurred, please try again later“. Often just to find out the problem wasn't some server outage, but something on our side. A typo in our email - and the server couldn't send that verification email, resulting in a 500 internal server error. Here's a simple but effective way to API error design.

Terraform for Fullstack Developers

February 19, 2021 · 9 min read
The more complex your infrastructure the more can go wrong. Let's look at Terraform as a way to automate tedious infrastructure setup (and to make it explicit).

What Is a REPL? [Read-Eval-Print Loop Explained]

January 8, 2021 · 1 min read
Every programmer has used one. Read-eval-print loops (or REPLs) are a centerpiece of modern software development. What exactly is a REPL, how does it work, and where can I use one? Let's find out.

How to Decide Between Frontend And Backend Development

October 2, 2020 · 1 min read
You want to learn web development. And you wonder where to start.Frontend development, backend development, or should you dare to try learning both and become fullstack? Here‘s the advice I‘d give my 8 years younger self