Articles

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 Use Folders And Filenames As Paths For Your Webpages With Gridsome

April 25, 2021 · 9 min read
The standard way for URLs in Gridsome is the `slug` parameter. But you can also tie your folder structure to your website structure and use directories and filenames as paths, like other frameworks such as Next.js do. At the end of this article, you'll know how to…

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.

How to Include Markdown From Other Markdown Files [Gridsome Guide]

April 3, 2021 · 1 min read
Here's a quick way to include markdown files inside other markdown files with `@gridsome/vue-remark`. If set up properly, it allows to import other markdown files like this