Refactored an API
Learned MongoDB
Participated in a hackathon
+1

Digital Ocean Hackathon!


I heard a while back that DO would be running a hackathon, and since I'm strapped for free time, I decided to start a bit ahead of time. My not-so-ambitious (but fun) idea is to build a stripped-down Quizlet clone with an emphasis on speed and efficiency. At least, that's the pitch I'm using 😉.

At first, I built it on top of a Prisma DB since I didn't know that the Hackathon would be in partnership with MongoDB. I got the base API built and functional in Prisma and it was a breeze. However, I had to refactor and hook it up to Mongo to participate. 

Tonight, I dove into that refactor! I also included the usage of .env files, which I haven't used in a personal project before.

I'll do a full blog on connecting Node/Koa/MongoDB later, but for now, here's the fruit of tonight's labor, in PR form!

Migration to MongoDB plus infra for .env files by sRobDev · Pull Request #1 · sRobDev/flowcards (github.com)