WebCake WebCake

Web Development by Colin J Lacy


Enter your email address to receive notifications of new posts by email.

Category: Node

Using a ConfigMap to Set Environment Variables on a Kubernetes Deployment


In this exercise, I mixed a couple of tutorials together from the Kubernetes site to demo the following: – deploying an app that has pre-configured env vars – leveraging those env vars in application code – updating the env vars on the server – running a fresh rollout to demo the updated env vars in …Read More

Posted: July 8, 2018

Sending HTTP Requests from a Node Application


Node comes with some pretty awesome features, something that’s been well documented and widely accepted.  These days even some long-time Java devs that I know are pretty excited at how quickly something can be done server-side with Node, and the ES6/2015 features are making a lot of the old-guard naysayers come around. That being said, …Read More

Posted: December 14, 2015

Building a Yeoman Generator


When I sat down a few weeks ago to write my first Yeoman generator, I was pretty surprised by the lack of resources available beyond the basic Yeoman documentation. While the API docs were decent, the Getting Started section wasn’t. Most of the learning was done on my own. Hopefully this will help other people …Read More

Posted: December 5, 2015

Calling All Promises – More ES6 Promises in Node


This is the second of a two-part series. You can find the first post here. I’ve previously written about creating Promise-based calls in Node scripts, and at the end I promised (BOOM!) to go into scaling the promise pattern to run multiple async calls. This post starts off where the other one ended, with the …Read More

Posted: November 29, 2015

ES6 Promises in Node


This is the first of a two-part series. You can find the second post here. One of the coolest features of ES6 is its built-in support for promises.  Unlike the way we’ve been developing Node modules, the promise API allows us to build an async workflow that aligns to the way many of us have been …Read More

Posted: November 26, 2015

A Private Bower Built in Express


Working for a company like GE, there are a lot of rules that restrict the sharing of internally developed tools.  For the most part, anything that we build on the company’s dime has to stay within the company.  Not necessarily a bad thing, just the way it is.  However, it does restrict the amount of …Read More

Posted: November 20, 2015