So, remember this where I talk picking a robust ORM solution? Well, I’ve begun to draw out my entity relationship diagram (shoutout to Lucidchart) and I am working on the problem of keeping my tables from getting “too wide”– one of the fundamental weaknesses of typical ORMs. Here are a few of the features of Drizzle that are going to save me:
To create many-to-many relationships you actually create a proper join table where values other than foreign keys can live.Overview This is a fairly large section, highlighting the process by which I’ve created the starting point for the auth and user registration for the new iteration of my bootcamp final project. I wanted to do my best to follow current best practices and build out a solid starting point for user registration and authentication. A primary reference for this work was this excellent video by Michael Guay. I like how he organizes the NestJS project and his approach seems to follow pretty solid, modern best practices, though these things seem to change all the time.Today I’ll talk about the first step I’ve taken towards my new pet project: a total rebuild of my bootcamp final project. My team of 3 completed this project in the span of 2 weeks at the very beginning of the 2020 pandemic… as in, we had been going to classes in person, then we entered quarantine just as we got our team assignments and completed everything remotely.
At the time we had only been writing code for 10 weeks.