The Node.js Update #Week 36 of 2019. 20 September

RisingStack
Node.js Collection
Published in
5 min readSep 20, 2019

Below you can find a collection of the most important Node.js updates, tutorials & announcements from this week — curated by RisingStack’s Node.js Developers.

Latest Node.js Updates here: 10.16.3 LTS / 12.10.0 Current

First, let’s start with “official” Node news:

Node + JS Interactive Schedule Announced (December 11–12)

At Node+JS Interactive, attendees, speakers and sponsors will collaborate, network and learn from each other as they share their experiences deploying IoT, serverless, cloud native and progressive web apps, and much more.

from npm: Avoiding the Tragedy of the Commons: Acceptable Use of the Public Registry

While nearly all of the registry’s 11 million users fall well within the limits of acceptable use, there is a small number of outliers — all large commercial enterprises who use the registry for free — that consistently make tens to hundreds of millions of registry requests per month, falling well outside any reasonable scope of acceptable use.

Interesting JS & Node Threads:

Do you guys prefer MongoDB or PostgreSQL?

“So a lot of the tutorials I used to learn node.js seem to focus on NoSQL databases like MongoDB or Firebase, but everyone is saying that this is bad practice, and we should all use relational databases like MySQL and PostgreSQL. I’m wondering what do you guys prefer, and at the end of the day does it really matter?”

Research shows that global demand for JavaScript is outpacing student expertise

“JS is slowly but surely eating the entire web-dev industry. There’s a common theory that in order to get big all a language needs is to be “the” native programming language of a popular/dominant platform, and JS is the native language for the web, without a shadow of a doubt the most powerful platform in the history of computing.”

Cheat sheet for moving from jQuery to vanilla JavaScript

“It’s nice to see people talking about moving away from jQuery. I get extremely frustrated when looking for answers to JS questions and every. single. SO. answer is “just use this jQuery.” It’s like the entire internet has either forgotten, or has no idea, how to use vanilla JS.”

Are you making your website vulnerable or compromising the performance by adding target=”_blank”?

TL;DR: Use rel=”noopener noreferrer”.

Best solution for authentication (40+ comments)

“Hi everyone. I am planning to create MVP for my app which is going to be SaaS. As it will be MVP probably in the future I will change some things but I would like to create strong roots and I am thinking about which solution should I use for authentication. JWT, use external library Passport.js or something else?”

Learn Node.js By Solving Real world Production Problem Scenarios

“Why can’t we have a platform like leetcode, TopCoder for solving just a business problem scenarios which helps me to learn and put it in my portfolio?To start an initiative to address this problem, I have consolidated some business problem scenarios in a GitHub Repo.”

Awesome Node.js Tutorials:

Writing a Blockchain in Node.js

Blockchain is an incredibly hot topic in computer science these days. It become famous in 2008 thanks to the Bitcoin cryptocurrency, which (as you may know) uses a Blockchain in order to record every transaction into a public distributed ledger.

But… how much do we know about Blockchain? What if we want to understand how Blockchain works and what makes it so powerful? How should we start?

Live Streaming Data Using Kafka, Node.js, WebSocket and Chart JS

The reason for writing down this story is not to define something which might sound quite obvious but to allow reader to be able to follow the steps and have a working example. I found articles related to this topic on google but hardly found a step to step instruction that i could follow. And being new to Kafka & Node.js it could be daunting.

The 6 Most Common Types of Logic in Large Applications [with Examples]

In this article, you’ll learn about the Clean Architecture, why we should separate the concerns of large applications into layers, the 6 most common types of application logic, and which layer they belong to.

Full-text search with Node.js and ElasticSearch on Docker

For those who don’t know, ElasticSearch is a search engine server built on top of Lucene with an amazing distributed-architecture support. According to db-engines.com, it is currently the most used search engine out there.

In this post, we are going to build a simple REST application called The Quotes Database which will allow us to store and search as many quotes as we want.

How To Use the Node.js REPL

The Node.js Read-Eval-Print-Loop (REPL) is an interactive shell that processes Node.js expressions. The shell reads JavaScript code the user enters, evaluates the result of interpreting the line of code, prints the result to the user, and loops until the user signals to quit.

The REPL is bundled with with every Node.js installation and allows you to quickly test and explore JavaScript code within the Node environment without having to store it in a file.

How to Build Your First Telegram Chatbot with Node.js

In this guide, we’ll walk you through everything you need to know to build your first Telegram chatbot using JavaScript and Node.js.

Great Video Content:

JWT Authentication Node.js Tutorial with GraphQL and React

Learn how to add JWT authentication to your project with this fullstack tutorial using Node.js, Typescript, GraphQL, React, and PostgreSQL.

Getting Started with Converting speech to text with Node.js

This video walks you through how to get started with the Speech API for Node.js.

Create A Paginated API With Node.js — Complete Tutorial

First we will build out the most simple pagination set up which will get us started with pagination. After that we will implement a middleware to take care of pagination for use so we can paginate all of our endpoints easily. Lastly, we will connect out paginated API to a MongoDB database so we can have a fully functional paginated API with database storage.

Why 0.1 + 0.2 === 0.30000000000000004: Implementing IEEE 754 in JS

Floating point math is tricky. In this video, we’ll learn how these numbers work in computers, and build a software implementation from scratch in JavaScript.

Like what you read?

Share the post or just clap one, and come back next week! :) Thanks.

Originally published at community.risingstack.com on September 20, 2019.

--

--

RisingStack
Node.js Collection

Consulting, training & development services — with a strong focus on JavaScript, Node.js, DevOps, Microservices & Kubernetes | contact: info@risingstack.com