Systems | Development | Analytics | API | Testing

NodeJS

Adding user tracking to your Node.js RESTful API with Moesif

Join Matt as he shows users how to add user tracking to your Node.js RESTful API with Moesif. In this tutorial, we will cover how to: Tracking users' server-side interaction greatly increases the value of API monitoring and analytics. With Moesif, begin tracking your API calls by user in a matter of minutes.

WebSockets Tutorial: Going Real-time with Node and React

Everyone seems to be making chat apps these days, but messaging apps are merely the tip of the iceberg. Consider this for a moment, within the real-time domain, there are a plethora of different things you can create. We'll start with some fundamental concepts and work our way up to see how to go real-time with Node and React in the following post. By the end of this article, you will have created a very simple real-time application. That will be a lengthy post!

A Guide to Load Testing Node.js APIs with Artillery

Artillery is an open-source command-line tool purpose-built for load testing and smoke testing web applications. It is written in JavaScript and it supports testing HTTP, Socket.io, and WebSockets APIs. This article will get you started with load testing your Node.js APIs using Artillery. You’ll be able to detect and fix critical performance issues before you deploy code to production.

How to solve your Node.js problems up to 4x faster

A bug on your Node.js application can mean many things: In other words, a bug on your Node.js application can mean a lot of different things depending on the industry you are working in. Some industries can't afford 5 minutes down; others can afford weeks down. Even more important, the software - correctly working - can impact lives.

Designing Error Messages and a Logging Strategy in Node.js

Error handling is one section of our job that we tend to neglect, especially when working on something new, interesting, or something we just need to get working. We’ll handle errors later, we say — and that’s often a big lie. But that’s not even the worst part. The problem comes when we decide to ‘quickly’ add some code to handle our errors and completely forget about the importance and relevance of a properly constructed error message.

A Comprehensive Guide To Error Handling In Node.js

Errors happen in every application. Devs have to decide: do you write code to handle the error? Suppress it? Notify the user? Report it to the team? In this article, Ayo Isaiah walks us through every aspect of the JavaScript error system. He'll show us how to work with errors and discuss appropriate choices for real-world scenarios.

What's New in Node.js 17

Node.js v17.0.0, the latest major version of the popular JavaScript runtime, has just been released. It supersedes v16 in the Current release line of the runtime. V16 is now in line to be promoted to the long-term support (LTS) channel on October 26, 2021, as it’s an even-numbered release. Despite being a relatively minor update, this release brings several refinements to the runtime, including more promisified APIs, JavaScript engine upgrades, and OpenSSL 3.0 support.

How to Dockerize an Existing Node.js Application

Docker is a software platform that enables packaging an application into containers. These containers represent isolated environments that provide everything necessary to run the application. Dockerizing an application refers to packaging it in a Docker image to run in one or more containers. Dockerizing an application involves specifying everything needed to run the application in a Dockerfile and then using the file to build a specialized Docker image that can be shared to multiple machines.