What a humbling writeup. This is real fullstack engineering.
This type of thing is definitely not something you can just figure out in a couple hours (or even days).
I most appreciate the honesty about mistakes and failures and dead-ends. Too often wasted effort and small failures are elided from articles and instead you get something that is written retrospectively as though everything went perfectly...