Software engineering isn't magic, and neither is engineering leadership. Too often organizations leave engineering teams to fend for themselves when it comes to basic tools, techniques, and practices. A good leader makes decisions, leads from the front edge of those decisions, and then listens to their team to iterate and improve over time. But how can a new leader approach an existing organization to make a positive impact?
This article will explore some strategies for...
With the adoption of ES6/2015 by nearly all browsers (with one notable exception), developers have access to the new class keyword and its construct for creating objects. If you are familiar with prototypical inheritance in JavaScript, don't worry, that knowledge is still useful. Why? Because JavaScript "classes" are just syntactic sugar over the top of prototypes. In this post, I'll shed a little bit of light on the ability to access a parent class (prototype) from...
This article was first posted on the Lunch Badger blog. Check them out if you're working with APIs in Node.js!
You've probably used it before: key authentication. The basic idea is simple, to authenticate your app or client with a given service you send a key to identify (and authorize) yourself. This is not intended for individual users necessarily, but rather for systems talking to each other. (Just to be clear, for users authenticating themselves you might want...
This article was first posted on the Lunch Badger blog. Check them out if you're working with APIs in Node.js!
Separating your API code into microservices has far reaching benefits, but you probably already knew that, that's why you're here! So now that you've decided to shift to microservices you have some problems to solve. One of those is that splitting up your service areas can make it difficult to access much needed data at the correct time. If you'...
This article was first posted on the Lunch Badger blog. Check them out if you're working with APIs in Node.js!
If you've written anything in Node.js the chances are you've used Express and its routing system. In this article I'd like to (re)introduce you to the built-in Router that really is the core of Express itself. We'll talk about the basic idea of routing, but then dig into some more advanced concepts like pattern and regex routes and advanced URL...