Hi! I'm Jan Kleinert.

Blog

Things I've learned, stuff that was hard to figure out, or whatever I'm interested in at the moment.
image

Learning to Read Music with the Web MIDI API

Published January 22, 20206 min read
To help my daughters with their sight reading, I built a simple web app that displays a note on the staff, and while connected to a digital piano or keyboard, it uses the Web MIDI API to let them know if they played the right note that corresponds with what's on the staff. To build this web app, I had to learn about MIDI and the Web MIDI API. In this article, I'll share what I learned and how the web app was created...
Read more →
image

Node.js Session Management Using Express Sessions, Redis, and Passport - Part 2

Published July 16, 201911 min read
In Part 1 of this tutorial, we went step-by-step through the process of building a web app with Node.js and Express that uses express-session and connect-redis as a way of helping users understand how session management works. In this second part, we will expand on the previous app...
Read more →
image

Node.js Session Management Using Express Sessions, Redis, and Passport - Part 1

Published July 11, 201922 min read
Recently, I set out to create a demo application for my talk at Redis Day NYC that illustrates how session management works in a Node.js/Express web app, using Redis as the session store and then adds authentication...
Read more →