Brandon LauGetting 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…Jan 10, 2020Jan 10, 2020
Brandon LauJavascript 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…Jan 2, 2020Jan 2, 2020
Brandon LauJavascript 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…Dec 25, 2019Dec 25, 2019
Brandon LauPromises 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…Dec 18, 2019Dec 18, 2019
Brandon LauSpotify 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…Dec 12, 2019Dec 12, 2019
Brandon LauHow 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…Dec 4, 2019Dec 4, 2019
Brandon LauSpotify 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…Nov 28, 20191Nov 28, 20191
Brandon LauOne-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…Nov 19, 201913Nov 19, 201913
Brandon LauNode.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…Nov 12, 2019Nov 12, 2019
Brandon LauRails 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…Nov 6, 20191Nov 6, 20191