hologram-codes.hashnode.devUnit-Testing for your TypeScript Node.js APIIntro Especially when working on larger projects, things can get quite complicated very soon. Some changes here, some minor cleanup there and BOOM - your code doesn't work (the way you want it to) anymore. As developers, we're used to testing newly i...Feb 15, 2021·11 min read
hologram-codes.hashnode.devMigrating your Node.js Express API to TypeScriptIntro Recently, I made the impactful decision to migrate my entire Node.js API from JavaScript to TypeScript. I worked with other statically typed programming languages before and therefore understood the basic concept of TypeScript. Nonetheless, I e...Jan 14, 2021·13 min read
hologram-codes.hashnode.devRevokable tokens & token theft - JSON Web TokensIntro In my previous blog post, I've explained the concept of JWTs, how they're used as well as possible security issues that should be taken into consideration. Today, I'll introduce you to revokable tokens, a fundamental concept for the secure usag...Jan 1, 2021·19 min read
hologram-codes.hashnode.devThe magic of JWTs - how do they work?Intro Have you ever wondered how you're able to stay logged in after you've closed and re-opened an application on your smartphone? One thing's for sure, the app (hopefully) doesn't store your credentials and include them into every single request th...Jul 11, 2020·13 min read
hologram-codes.hashnode.devMongoDB - Security & Lockdown of your databaseIntro Now that you've installed your MongoDB database server and played around with basic Mongo-Shell commands, it's finally time to worry about a crucial aspect when dealing with databases: Securing & Locking down the stored data. Not only is the pr...Feb 13, 2020·29 min read