JSON Web Tokens are a relatively popular method for implementing authentication and authorization systems in modern web applications. With wide package support across many programming languages, JWT is a simple way to secure your app and massively reduce requests to your user database.
There are a great number of occasions lately when I've needed to take an object, preserve all of its properties/property names, but modify the actual values of those properties. That's easy to do in JS or TS, but you may also want to "strongly type" the new property types.
CouchDB replication can easily fail when its run from the Futon dashboard in a Docker container. This quick post goes over the reason and the solution, but it boils down to "why aren't you using localhost you dumb couch".
TypeScript has become incredibly powerful, and its type system lets you build a great deal of similarly powerful functions, tools and utilities. In this post, learn how to build a simple object validation utility that uses TypeScript's type system to provide compiler safety for the validation rules and the resulting objects.
As web developers, we're no strangers to massively bloated containers. While many apps quickly bulk up in size once you start adding Node and frontend packages, even a dotnet app with no node_modules can still get pretty hefty once the dotnet SDK and package dependencies have been installed. This post covers the steps I used to slim a container from nearly 8gb in size to less than 200mb.