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

What?

Optimising npm dependencies

Learning about transitive dependencies, rational code reuse and dependencies test in your builds.<p>Do you recognize yourself in one of the following …

JavaScript

Express Convention-Based Routes

I’ve always been a fan of convention-based routing so I converted a local route generation script I’ve been using with Node.js/Express applications …

JavaScript

Server & Authentication Basics: Express, Sessions, Passport, and cURL

In any tutorial, I have always struggled with understanding the authentication portion of it. Instead of actually explaining the mechanics and what’s …

JavaScript

HTTP/2 in Node.js core

HTTP/2 is starting to be used more and more (it jumped from 11% in the beginning of this year to 18% total usage on the web). If you recall our last …

JavaScript

What's new in Node.js 9?

Node.js 8.9.0 just became the LTS (Long Term Support) version of Node.js under the codename Carbon, and it will be maintained till December 31, 2019, …

JavaScript

Node.js Best Practices

<b>Follow us on Twitter!</b> <b>@nodepractices</b><p>Welcome! 3 Things You Ought To Know First:<p><b>1. When you read here, you in fact read dozens of the best Node.JS</b> …

JavaScript

Token based authentication in Node.js with Passport, JWT and bcrypt

When you develop an API, most of the times you’ll need part or all of its endpoints to require authentication. How to do that using Node.js?<p>A …

JavaScript

Node.js Performance and Highly Scalable Micro-Services - Chris Bailey, IBM

Node.js

Server.js - server.js

Then you can create a file called index.js with this code:<p>Execute this in the terminal to get the server started:<p>And finally, open your browser on …

JavaScript

4 + 1 ways for making HTTP requests with Node.js: async/await edition

<b>HTTP requests with Node.js</b> are a means for fetching data from a remote source. It could be an API, a website, or something else: at one point you …

JavaScript

Wiring up a GraphQL server with Node and Express

GraphQL or Graph Query Language is one of those things that you see mentioned in blog posts and articles but you are unsure exactly what it is. It is …

JavaScript

API creation made simple, secure and fast.

Reach the next level of API development<p>Building performant, secure and scalable production-ready application has never been easier.<p>Community …

JavaScript

schnack.js

schnack.js is a simple node app for Disqus-like drop-in commenting on static websites.<p>Say hello to Schnack.js<br>• Follow @schnackjs on Twitter<p>Related …

JavaScript

Documenting your Node.js API with apiDoc

When you are developing an API and one or more developers (frontend, desktop, mobile, etc) will have to integrate their code with it, it’s very …

JavaScript

Deploy a REST API using Serverless, Express and Node.js

We're seeing more and more people using Serverless to deploy web applications. The benefits are huge—lightning-fast deployments, automatic scaling, …

JavaScript

Nest.js Brings TypeScript to Node.js and Express

<b>TL;DR:</b> In this article we are going to learn about Nest.js, a framework for building Node.js web applications. Why Nest.js? Because, although Node.js …

JavaScript

Node.js for Mobile Apps

Node.js for Mobile Apps¶<p>The power of Node.js inside your mobile apps¶<p>Node.js for Mobile Apps is a toolkit for integrating Node.js into mobile …

JavaScript

ES6 Promises: Patterns and Anti-Patterns

When I first got started with NodeJS a few years ago, I was mortified by what is now affectionately known as “callback hell”. Fortunately, here in …

JavaScript

Node.js Tutorial: Learn in 3 Days

Introduction to Node.js<p>The modern web application has really come a long way over the years with the introduction of many popular frameworks such as …

JavaScript

Node8’s util.promisify is so freakin’ awesome!

In this guide you will learn how to use Node’s util.promisify to promisify your own functions. This utility function was included in NodeJS version …

JavaScript

Debugging in 2017 with Node.js

MEAN and Cosmos DB - Part 1: Introduction

Building MEAN Apps with Cosmos DBI've released a new video series that shows how to build MEAN apps using Cosmos DB. Each video in the series will be …

JavaScript

Build a Node.js web app for Azure Cosmos DB

This Node.js tutorial shows you how to use Azure Cosmos DB and the DocumentDB API to store and access data from a Node.js Express application hosted …

Refactoring a Node.js codebase using Async/Await

This week I refactored a Node project of mine from the traditional Node callback pattern to the recently available Async/Await pattern. This pattern …

JavaScript

Building An Interactive Game of Thrones Map (Part I) - Node.js, PostGIS, and Redis

A Game of Maps<p><i>Have you ever wondered how "Google Maps" might be working in the background?</i><p><i>Have you watched "Game of Thrones" and been confused about</i> …

Introducing Fastify, a Speedy Node.js Web Framework

Matteo Collina<p>Matteo has many years’ experience in the software industry and is a well-known figure in the global Node.js, Internet of Things and …

An Introduction to Building TDD RESTful APIs with Koa 2, Mocha and Chai

Intrigued by Koa 2, I’ve started to play with it lately to build an API. And I liked it, especially when you start to see all those green marks after …