Weekly Node.js Update - #3 - 01.19, 2018

Below you can find RisingStack's collection of the most important Node.js news, updates, projects & tutorials from this week:

1, Learn Node.js — We created a directory of top articles from last year (v.2018)

Between Jan~Dec 2017, we’ve compared nearly 12,000 Node.js articles to pick the Top 50 for this directory.

This directory will make it easier for you to find best Node.js tutorials from last year, where experienced developers share their lessons, insights and mistakes working in Node.js. This could help solve your problems and advance your web development career in 2018.

This directory has 19 key topics as shown below:

The best Node.js articles of 2017

2, A crash course on TypeScript with Node.js

What if I told you JavaScript could be viable in an enterprise environment? You’d think I was crazy. Isn’t JavaScript that toy of a language used for animating divs from left to right on a web page?

typescript-serverless-node-course

A couple of years ago, I’d agree with you. Not anymore. With the latest advancements in the ECMAScript standard and with the rise of TypeScript, I wouldn’t be surprised with it taking the interwebs with storm. We won’t even know what hit us.

3, How does Node load built-in modules?

Foreword from author Safia Abdalla:

So, in the last blog post that I wrote, I started looking at how the Node main process was initialized. I quickly discovered that there was quite a lot going on in there (and rightfully so!). One of the things that caught my eye in particular was the reference to a function that seemed to be loading built-in modules during the initialization phase of the Node main process.

node::RegisterBuiltinModules();

I wanted to look into this a little bit more so I started snooping around the codebase to learn more.

4, Building Secure JavaScript Applications

This article goes through the most frequently asked questions about how one can make a JavaScript application more secure.

authenticating-with-jwt-and-cookies

A few weeks back, I’ve attended SFNode, where Randall Degges gave a presentation on JWTs, mostly on why you avoid using them. The talk was amazing, and also reminded me of an article I wanted to write for a long time now - how one can build secure JavaScript applications. Here we go!

5, Migrating your Node.js REST API to Serverless

Many of the use cases make sense to let the cloud provider handle the server management, scaling and up time. You’re a developer, why should you need to get your hands dirty with the horror of the command line. Ew, the terminal! How do you exit Vim again?

serverless-node

I’ll show you how to use the code you’re already used to, and apply it to a Serverless environment.

6, Handling Node.js Microservices with Kubernetes (February 22-23) - Barcelona:

Two days of training to master the usage one of the most popular container management platform, Kubernetes.

During the training, we'll work with a microservices architecture and deploy the dockerized services into a Kubernetes cluster, set up application secrets, use load balancers, rate-limiters, take a look at some popular management tools and apply several design principles and best practices coming with microservices.

7, Meet Middy, - The stylish Node.js middleware engine for AWS Lambda

Middy is a very simple middleware engine. If you are used to web frameworks like express, than you will be familiar with the concepts adopted in Middy and you will be able to get started very quickly.

How does it work? Middy implements the classic onion-like middleware pattern, with some peculiar details.

middy-middleware-engine

When you attach a new middleware this will wrap the business logic contained in the handler in two separate steps.

When another middleware is attached this will wrap the handler again and it will be wrapped by all the previously added middlewares in order, creating multiple layers for interacting with the request (event) and the response.

This way the request-response cycle flows through all the middlewares, the handler and all the middlewares again, giving to every step, the opportunity to modify or enrich the current request, context or the response.

8, Internationalizing Node.js

The effort to Internationalize Node.js was recently entrusted to its Community Committee, and we’re excited to pick up where the previous work left off.

internationalizing node.js

I’ll be bringing you up to speed on:

  • The current international-language needs of Node.js
  • A Node.js Internationalization (i18n) & Localization (l10n) status report
  • Our proposal for moving Node’s i18n forward as a function of the Community Committee

9, Announcing The Node.js Application Showcase

The Node.js Application Showcase lists a variety of projects and products built with Node.js. It is sortable by development status (in development, in beta, in production), application type and by the other technology used.

node-js-application-showcase

When clicked, each application “tile” reveals a short description of the app, its intended users, how the app helps them and how Node.js helped the app’s creator.

The program is open to anyone, anywhere via this simple form.

Previously Node.js Updates:

In the previous Weekly Node.js Update, we collected great articles, like

  • Simple and Robust Face Recognition using Node.js;
  • 8 Tips to Build Better Node.js Apps in 2018;
  • the npm operational incident of 6 Jan 2018;
  • Building Your First Node App Using Docker;
  • Running a Node app on Amazon ECS;

& more..

We help you to stay up-to-date with Node.js on a daily basis too. Check out our Node.js news page and its Twitter feed!