← Writing

Beelion on RedwoodJS

Updated 11 months ago

You know when you've got a project that's been running for years without updates and you are just waiting for the day that it stops working. What's worse is your partner uses it almost daily so it's pretty integral for your life.

Maybe even worse than that, you don't have the RSA keys to get back into the server because it was two laptops ago. Well, maybe that's enough justification to rebuild a project on a more modern stack. That's what I did and it was a lot of fun.

Why make this?

Back in 2015 my wife and kept forgetting stuff at the grocery store. I was into MeteorJS so I built a web app to manage our grocery list. It uses a smart-ish algorithm to update the order of the grocery store so you don't have to go down aisles you don't need. This reduces your surface area for impulse buys that everyone experiences at the grocery store.

Coming from Meteor, I knew this project would benefit from a tightly integrated full-stack. The trick was where to find that in React-land. I heard about RedwoodJS on the Syntax podcast and after trying the tutorial, I was in love.

Challenges

It's a little bit crazy, but I decided to stream the whole process so that is available on Youtube. I had difficulty setting up my OBS and getting the channel and my process started. As is typical, the first video is horrendous but I get better over the course of videos. Just skip that one.

I integrated with Auth0 for authentication and ran into a difficult issue on the stream. It was an undocumented Redwood feature in its authentication package. It is hard to blame an evolving package and that package extracts common functionality between several auth providers, but it took some real digging to work through.

Finding this useful?

You can get these articles in your inbox, plus updates about projects I'm working on. I won't send you any spam and you can unsubscribe at any time.

A small favor

Was anything I wrote confusing, outdated, or incorrect? Please let me know! Just write a few words below and I’ll be sure to amend this post with your suggestions.