Day 06: Mongoose Schema and ODMs

Got back to the Local Library tutorial and worked through most of the section on Mongoose and modelling the data for the app. It was great to review the mongoose package since the first time I used it was back in 2018. I had no idea what ODMs and ORMs were back then but now I have a much better grasp on databases now. I still have a long way to go but I am definitely progressing.

I just have to keep at this. I figure once I get past that breaking point I will start picking up other packages and tools really quickly since they will share a lot of similarities with other tools.

TLDR;

Okay, so here are the highlights of what I did:

  • Mongoose -> Reviewed the docs on Schema types and virtuals. After using the sequelize package with PostgreSQL this seems a lot more familiar. I get the underlying idea behind ODM/ORMs so it is clicking a lot more than before. See. You just need to get more reps in and then things will start to work a bit better.
  • Practice -> Continued working through the practice ‘Local Library’ project in the MDN ExpressJS guide. I am on part three where I set up the database and mongoose ORM. I almost finished the section. I just need to complete the section where I populate the database with some sample data… I think.


Goal For Round 8 of the #100DaysofCode Challenge

This is my eighth round of the “#100daysofcode” challenge. I will be continuing my work from round five, six, and seven into round eight. I was working through the book “Cracking the Coding Interview” by Gayle Laakmann McDowell. My goal was to become more familiar with algorithms and data structures. This goal was derived from my goal to better understand operating systems and key programs that I use in the terminal regularly e.g. Git. This goal was in turn derived from my desire to better understand the fundamental tools used for coding outside of popular GUIs. This in turn was derived from my desire to be a better back-end developer.

I am currently putting a pause on the algorithm work to build some backend/full stack projects. I primarily want to improve my skills with the back-end from an implementation perspective. I have improved tremendously in terminal and CLI skills but I lost focus due to how abstract the algorithm concepts got. I wanted to work on things that were more tangible until I can get to a position where I could directly benefit from improving my algorithm skills and theoretical knowledge. So that’s the focus right now. Build my backend skills and prove my full stack capabilities by building some dope projects.

Again, I still have no idea if my path is correct but I am walking down this road anyways. Worst case scenario I learn a whole bunch of stuff that will help me out on my own personal projects. Best case scenario I actually become one of those unicorn developers that go on to start a billion dollar company… You never know LOL.