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”.

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 …

DevOps

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 …

JavaScript

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 …

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 …

JavaScript

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 …

JavaScript

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 …

JavaScript

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 …

DevOps

10 Best Practices for Writing Node.js REST APIs

<b>In this article we cover best practices for writing Node.js REST APIs</b>, including topics like naming your routes, authentication, black-box testing & …

JavaScript

A Brief History of Node Streams pt.1

Introduction<p>From spew streams to suck streams, Streams are a little understood interface used in almost every internal module of Node.js and across …

JavaScript

tldrlegal

The easiest way to find out if your JavaScript project meets its dependencies' licensing requirements.<p>tldrlegal is a Node.js command-line tool that …

An Update on ES6 Modules in Node.js

A few months ago I wrote an article describing the various differences that exist between Node.js CommonJS modules and the new ES6 Module system; and …

JavaScript

10 Angular and TypeScript Projects to Take You From Zero to Hero

There are a lot of great samples and posts out there to help get you started with Angular (version 2 or higher) as well as ES6/ES2015 and TypeScript. …

OpenCV tutorial: Computer vision with Node.js

<b>In this openCV tutorial, I will show you how to work with computer vision in Node.js.</b> I will explain the basic principles of working with images …

JavaScript

Docker and Node.js Best Practices

Environment Variables<p>Run with NODE_ENV set to production. This is the way you would pass in secrets and other runtime configurations to your …

Using Let’s Encrypt with Express

HTTPS is starting to become more and more of a trend on the internet. This is great because clients can safely trust the server that they are …

Running Express, Koa and Hapi on HTTP/2

Since I've started to work on web apps, I am searching for ways to improve page speeds and create better user experience. We are minifying our code, …

JavaScript

Awesome Linux Containers

Table of Contents<p>Foundations<p>Specifications<p>Clouds<p>Operating Systems<p>Hypervisors<p>Containers<p>Sandboxes<p>Partial Access<p>Dashboard<p>Best …

13 best practices to secure your web application

Everyone agrees that web application security is very important but few take it seriously. Here’s a 13-step security checklist that you should follow …

JavaScript

V8 ❤️ Node.js

<i>Node's popularity has been growing steadily over the last few years, and we have been working to make Node better. This blog post highlights some of</i> …

Tutorial: Building ExpressJS-based microservices using Hydra

<b>This microservices tutorial describes how to use a new Node module called Hydra to build more capable ExpressJS microservices.</b><p>Before delving deeper, …

DevOps

Usage

When run, this command line interface automatically generates a new GitHub Release and populates it with the changes (commits) made since the last …

Linux

Node.js Interview Questions and Answers (2017 Edition)

<b>Two years ago we published our first article on common Node.js Interview Questions and Answers. Since then a lot of things improved in the JavaScript</b> …

JavaScript

Experimenting With async/await in Node.js 7 Nightly

A couple of months ago <b>async/await landed in V8</b>, the JavaScript engine. In the meantime, V8 was updated multiple times in Node.js, and the latest …

JavaScript