The Node.js Magazine

By Dan Wahlin | Dan Wahlin created a magazine on Flipboard. “The Node.js Magazine on Flipboard” is available with thousands of other magazines and all the news you care about. Download Flipboard for free and search for “Dan Wahlin”.

How to Build a Load Balancer with Express

Getting Started<p>There are plenty of powerful load balancing tools out there, like nginx or HAProxy. Nginx and HAProxy are fast and battle-tested, but …

JavaScript

Running Node.js applications from GitHub in generic Docker Container

Share this on .. 0000<p>This article shows how I create a generic Docker Container Image to run any Node.JS application based on sources for that …

8 npm Tricks You Can Use to Impress Your Colleagues

You watch a colleague coding, there’s a shorthand or trick being applied, somehow you’re not familiar with it and your mind blows away. Happens to …

JavaScript

Developing Microservices - Node, React, and Docker - Michael Herman

In this post you will learn how to quickly spin up a reproducible development environment with Docker to manage a number of Node.js …

JavaScript

Node.js Docker "Good Defaults": A Best Practice Template for Node In A Container

<b>TL;DR:</b> Get the Project Skeleton on GitHub and improve your Node+Docker skills<p>I've been a Node fan since 2012, when Kevin Griffin and I shifted our …

DevOps

Transforming callbacks into promises and back again with function decorators

Every day that I work in JavaScript-land, I stumble across a mixture of callbacks, promises or async/await. I have my own preferences in how I like …

JavaScript

Project Glimpse · Full

<i>1.</i> In your app`s root directory, use npm to install Glimpse.<p><i>2.</i> Initialize Glimpse before any other <b>require()</b> or application logic (typically at the …

JavaScript

Debugging Node.js with Chrome DevTools

Support for Node.js debuggability landed in Node.js master in May 2016. You can see it in action in the DevTools 2016 Google I/O talk.Here’s how to …

JavaScript

Writing Secure Node.js Code - Danny Grander

<b>In his prezentation, Danny Grander walked us through hacking a vulnerable Node.js application, as well as looking in-depth into three different</b> …

JavaScript

Create a Continuous Deployment Pipeline with Node.js and Jenkins

Previously I had written about using Jenkins for continuous deployment of Java applications, inspired by a keynote demonstration that I had developed …

JavaScript

Nest FINAL release is here! Node.js framework built on top of TypeScript

Nest is a powerful web framework for Node.js, which helps you effortlessly build efficient, scalable applications. It uses modern <b>JavaScript</b>, is built …

JavaScript

pkg

Package your Node.js project into an executable<p>Use cases<p>Make a commercial version of your application without sources<br>• Make a demo/evaluation/trial …

JavaScript

Create lean Node.js image with Docker multi-stage build

TL;DR<p>Starting from Docker 17.0.5+, you can create a single Dockerfile that can build multiple helper images with compilers, tools, and tests and use …

DevOps

Basic Functional Programming With Async/Await

Async/await makes it easy to integrate asynchronous behavior with imperative constructs like for loops, if statements, and try/catch blocks. …

JavaScript

How to Debug Node.js with the Best Tools Available

<b>Debugging - the process of finding and fixing defects in software - can be a challenging task to do in all languages. Node.js is no …

JavaScript

Fullstack example codebases for React, Angular 2, AngularJS, Node, Rails, Django, and more

What is this?<p>RealWorld is a collection of exemplary frontend and backend codebases that demonstrate how to build real world, full stack …

JavaScript

Hard-won lessons: Five years with Node.js

After five years working with Node.js, I’ve learned a lot. I’ve already shared a few stories, but this time I wanted to focus on the ones I learned …

JavaScript

Mastering the Node.js CLI & Command Line Options

<b>Node.js comes with a lot of CLI options to expose built-in debugging & to modify how V8, the JavaScript engine works.</b><p>In this post, we have collected …

JavaScript

Using Docker Swarm for Deploying Node.js Microservices

In part one of this series, we looked at creating a simple microservice and packaging it into a Docker container. We also deployed the container to …

Unhandled Promise Rejections in Node.js

Node.js 6.6.0 added a sporadically useful bug/feature: logging unhandled promise rejections to the console by default. In other words, the below …

A story about Node.js and Azure WebApps

With the first Microsoft open source conference happening next 5 of April 2017 at Lisbon (https://msoscamp.io/) and being powered by Bright Pixel, I …

Software Development

Node.js War Stories: Debugging Issues in Production

In this article, you can <b>read stories from Netflix, RisingStack & nearForm about Node.js issues in production</b> - so you can learn from our mistakes and …

JavaScript

How to Mock Data for Node.js Applications using Faker.js

When we start to build an application, we generally do not want to worry much about data. To create a database and fill it with sample data seems …

Web Scraping in Node.js with Multiple Examples

Web scraping which can be used for things like email collection, creating a news feed reader, comparing product price from multiple e-commerce sites, …

Writing Secure Node.js Code

Josh Emerson speaking at Front-End London in October, 2016<p>JustUploaded<p><b>Welcome to Sessions!</b><br>Want the latest videos in your inbox?<p>About this talk<p>Some of …

The Basics of Package.json in Node.js and npm

The package.json file is core to the Node.js ecosystem and is a basic part of understanding and working with Node.js, npm, and even modern …

JavaScript

Hello World: Concurrency In Node.js Using The Cluster Module

Lately, I've been feeling very blocked with some software architecture matters, so I've been re-reading Clean Code: A Handbook Of Agile Software …

Step by Step building Node.js based REST API to perform CRUD operations on MongoDB.

Download Source Code of this post from GitHub here<p>Node.js is one of the greatest platform to create backend of the application. Does not matter …

Scale Node.js with N|Solid and Kubernetes on Azure Container Services

Microsoft recently announced the availability of Kubernetes for Azure Container Services, adding to the already impressive list of orchestration …

Cloud Computing