Invite-only microsites with Next.js and AirTable
I recently needed to create an invite-only Next.js-powered microsite (for my wedding 🌸) and in this article I’m going to show you how I went about creating invite codes and how I implemented code validation in the app, using Next.js API endpoints and AirTable as a lightweight backend. The use case and the tech stack 24 June 2022 was the best day of my life. Seriously, I got married with the human being I love the most and everything was just perfect. But we are not here to talk about my wedding, right…
What's in a JWT (Json Web Token)?
If you ended up on this article, chances are that you have been seeing JWTs (Json Web Tokens) for a while and you are curious to find out what they really are, what’s inside of them and how they actually work! Why did they get so mainstream anyway?! 🤔 In this article we will be trying to address this topic in a short but (hopefully) effective fashion! It’s just a string with a well-defined format JWT stands for JSON Web Token and such a token is just a string composed by 3 parts: a header a body…
How to crack a JWT token: two articles about distributed computing, ZeroMQ & Node.js
In the last 2 weeks I add the pleasure to release an article (in two parts) in collaboration with RisingStack, one of the most famous companies in the Node.js ecosystem. The article explains how to build a distributed application using Node.js and ZeroMQ and provides an example that I believe it’s very actual and interesting: a JWT token cracker. If you are into Node.js, ZeroMQ, security or distributed application you can read the two articles in the community section of RisingStack. ZeroMQ & Node.js…