Day 89: Back to API Basics with Node.js

I switched back to my Backend Development study track for the weekend. I got back to the API development section from The Odin Project’s Node.js course.

I last left off reading about Cross-Origin Resource Sharing (CORS). The topic has been very important for me personally. I once participated in a coding challenge and struggled with setting up CORS correctly to prevent Cross-Site Request Forgery (CSRF) attacks. At the time I could not figure it out and that has bothered me ever since. Hopefully by the end of this journey I will be able to resolve this issue. I still have the assignment somewhere on my computer.

Today I Read through the additional reading material provided by the course that was related to API development. I also took some notes on CORS and the “Same-Origin Policy” that seems to exist with most modern browsers today. I am still a bit confused about where the policy is enforced. Some articles make it feel like browsers are the enforcers of the policy and other articles seem to place the enforcement with the server. I now have a bit more of an understanding of the topic but I am no where near where I want to be.

Progress is better than nothing I guess.

TLDR;

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

  • Backend -> Continued going through the material on API development with Node.js from The Odin Project’s backend development course. Reading through the extra material on API development practices and CORS.


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.