Brandon Lau·Jan 10, 2020Getting started with React’s Context APIReact’s Context API serves a purpose of simplifying the passing down of props to one or more nested child. If the child that utilizes the…
Brandon Lau·Jan 2, 2020Javascript Constructor Function Prototype MethodsConstructor functions, as shown in the last article, are ways to instantiate new objects that share a common pattern, such as an Animal…
Brandon Lau·Dec 25, 2019Javascript Prototype-based Inheritance ExplainedJavascript has a prototypical inheritance model, as opposed to a class-based model that one may be familiar with. This means that objects…
Brandon Lau·Dec 18, 2019Promises in Javascript (and Promise.all)So, what exactly is a Javascript “Promise”? It actually is quite similar to what it sounds like semantically in english. When one promises…
Brandon Lau·Dec 12, 2019Spotify API with NodeJS and React (Part2- routes)So after we’ve established how to exactly acquire an access and refresh token (which is mostly the harder part), and to give it to the…
Brandon Lau·Dec 4, 2019How to create a “delay” in Javascript, and a practical use of async/awaitWhile creating a blackjack web application, the inevitable realization I’ve reached is that while everyone is looking for higher frontiers…
Brandon Lau·Nov 28, 2019Spotify API with NodeJS and React (Part 1 — OAuth2)This is going to be a multi-part blog, and this section will be focusing exclusively on acquiring the access and refresh tokens from…A response icon1A response icon1
Brandon Lau·Nov 19, 2019One-To-Many Relationships with MongoDB and Mongoose in Node/ExpressOne to many relationships with mongoDB can easily be mapped using mongoose. Although MongoDB isn’t a relational database like PostgreSQL…A response icon13A response icon13
Brandon Lau·Nov 12, 2019Node.js, Express, and MongoDB. Get started fast.In this guide, I’ll be walking through how to quick and easily get set up using Express and MongoDB, complete with controllers and routes…
Brandon Lau·Nov 6, 2019Rails Authentication with BCrypt & JWT, made simple and clearEvery time the topic turns to Authentication, people seem to lose motivation. I’m going to present an easy, step-by-step authentication…A response icon1A response icon1