How I Implemented Authorization in My Go App With RLS (Postgres)

Introduction In this article, I will show you how I set up Authorization with Row Level Security (RLS) specifically with Postgres in my web app in Go. A quick distinction between: Authentication (AuthN): who are you? Authorization (AuthZ): what can you do? We will mostly be focusing on AuthZ in this article, what is the user allowed to do but mostly see and we will use my gardening app called LettuceGo 1 (yes terrible pun, but I love it) as an example. ...

Why I Built a Web App With HTMX, Go & Postgres

Introduction Recently, I have started to build apps using the web stack: frontend htmx tailwindcss daisyui alpine backend go templ postgres devex gitlab ci nix devshells I have now built two apps using this stack, one of them being banterbus.games a browser-based party game (currently broken). Using web sockets, so it isn’t the most normal web application. As there are a few quirks of web sockets. Banter Bus Code: https://gitlab.com/hmajid2301/banterbus I am currently building a more normal CRUD app, called Voxicle (https://voxicle.app), a SaaS platform for collecting and acting on user feedback. The first time, I am trying to build something which I will charge others for (hence the code also not being open-source yet). Some more context here: https://haseebmajid.dev/posts/2025-03-03-go-feedback-my-new-side-project/ ...