Category: web dev

  • Certbot – removing a domain

    I had a number of domains all running on one host when I first set them up with certbot. One started to be serious, so I moved it to another host and ran certbot there. That all worked perfectly, but of course, the old domain is still part of the original certificate, so when I…

  • Quick & Dirty auth with nginx & Node

    One of the basic requirements for any serious web app is a proper users/roles/authentication system – but if you’re just throwing up a utility of some kind on a public IP for testing, and you don’t want it to be abused, then this could be an option. There’s a few components: I briefly discussed web…

  • Beginning Node App Security

    Since I’m using Tailscale to painlessly manage all my networking on the homeserver here and my remotes, I’ve had the luxury of being a bit casual about the security of my internal apps and self hosted dev tools. I’m currently iterating on a web app that requires public access, and is therefore up on a…

  • User Sessions & Cookies in Node

    When you are learning app development, you can create all sorts of apps that work for you, but for any serious app, it’s going to need to authenticate users and persist sessions across visits. So much so, that as a professional developer, you’ll probably build that out first – it becomes a sort of boiler…

  • Web Development Overview

    I don’t often just link to someone else’s content, but I was really impressed with Brad Traversy‘s “Web Development In 2024 – A Practical Guide” video. Apparently he does these every year – it’s just a really comprehensive overview of Web Development pitched at beginners.

  • Fly.io, Uptime Kuma & scraping a status page

    I’ve been aware since I set up Uptime Kuma for my monitoring, that having an instance on my local network monitoring my VPS websites wasn’t ideal. The main reason being that the flakiest part of my infrastructure is my 4G home internet, so if that goes down I have no website monitoring, and even if…

  • How to Have Cooler File Icons in VS Code

    I watch a lot of programming demos on Youtube, and it’s been low key bugging me for a while that everyone has cooler little icons in the explorer view of their VS Code than I do. For example, they have the HTML 5 shield logo next to their index.html, but I have the little fragment…

  • Getting Your Vite React App to Work on Github Pages

    One of the many cool things about GitHub is GitHub Pages – the free web hosting Microsoft gives you while they vacuum up your code for CoPilot training. Each repository you keep there can have pages at <your-github-username>.github.io/<repo-name> GitHub To enable this, you need to go into the settings for the repository – look down…

  • React Expense Tracker App

    I’m focused on React frontend skills these holidays, and working through Mosh’s React 18 course. The exercise today (which I think I nailed, although I spent more than the recommended hour on) was a small app to track expenses. Like most of Mosh’s exercises it was great because it exercised all the understandings up to…

  • What’s unfinished in your Udemy?

    If you work or study in tech, I always feel a good getting-to-know-you question is “what courses or tutorials did you start, but not finish?” My Udemy doesn’t look too bad: The ZTM course was good, but I got stuck on an AI API exercise. I think it’s a common sticking point for students since…