Using Higher-Order Functions To Pass Data and Functions in Node

When using Node.js it is best practice to separate out one's code into modules. So, instead of having one monolithic index.js or main.js file, instead you have your routes and your utility modules separated out into separate files which then get imported into your main file. This »

Using Bootstrap with create-react-app

These days, it is amzingly easy to get a web application up and running. Create-react-app allows you hit the ground running with building front-end applications which then can be served and fed data from a back-end API. But, while creat-react-app takes care of the dev server, dependency handling, and bundling, »

First Time Node - #6 Express Server With Functional Views

Most tutorials about setting up an Express web server in Node also have you add a templating engine and countless middleware packages. In this post, I am going to show you how to create a server-rendered website using Express and, well, plain JavaScript! #1 First Steps This post picks up »

First Time Node - #5 Configuring & Writing Tests

Testing your code is important. People disagree about how important it is, but we can all agree that writing at least some tests is a good practice. In this post, I will show you how to write and run tests on your code using Mocha. For this post, we will »

First Time Node - #4 Configuring Your Build Process for ES2015/2016

This is an extremely exciting time to be a JavaScript developer. The language is growing and changing in very positive ways. But, unfortunately, many of the best features of modern JavaScript are not natively available in Node or the browsers. I, along with others, say that it is absolutely essential »