Search results for "node"

Showing 12-22 of 255 results

Ultimate In-memory Data Collection Manipulation with Supergroup.js

In-memory data collection manipulation is something that we often need to do in data-centric reporting and visualization applications. When needed, we often tend to resort to complex loops, list comprehensions, and other suboptimal means, which can easily end up being a huge mess of hard-to-maintain spaghetti code. Supergroup.js is an in-memory data manipulation library that can be used to solve some common data manipulation challenges on limited datasets.

11-minute readContinue Reading
Sigfried Gold

Sigfried Gold

Emulating React and JSX in Vanilla JS

Not everybody likes JavaScript frameworks, nor are they always applicable. But even when we don’t want to or can’t use them, there are some parts that are handy to have.

In this tutorial, Toptal Freelance JavaScript Developer Juan Carlos Arias Ambriz proposes a simple way to recapture some of the benefits of using JSX while working in vanilla JS.

8-minute readContinue Reading
Juan Carlos Arias Ambriz

Juan Carlos Arias Ambriz

The Top 10 Most Common Mistakes That Node.js Developers Make

Node.js, the cross-platform runtime environment, has seen its fair share of praise and criticism for what it offers to developers. Often, reasons for such criticisms are rooted in how developers use/misuse the language.

This article explores ten common mistakes that Node.js developers make and how to avoid them.

11-minute readContinue Reading
Mahmud Ridwan

Mahmud Ridwan

Debugging Memory Leaks in Node.js Applications

Memory leaks in long running Node.js applications are like ticking time bombs that, if left unchecked in production environments, can result in devastating outcomes. These bugs are often considered to be hard to find. However, with the right tools and a strategic approach, memory leaks can not only be solved but also avoided in the future. In this article, Toptal engineer Vladyslav Millier gives us insight into what memory leaks are, how some sophisticated debugging tools can be used to find memory leaks, and how to plug them once and for all.

11-minute readContinue Reading
Vlad Miller

Vlad Miller

Needle in a Haystack: A Nifty Large-scale Text Search Algorithm Tutorial

When coming across the term “text search,” one usually thinks of a large body of text which is indexed in a way that makes it possible to quickly look up one or more search terms when they are entered by a user. This is a classic problem in computer science to which many solutions exist.

But how about a reverse scenario? What if what’s available for indexing beforehand is a group of search phrases, and only at runtime is a large body of text presented for searching?

12-minute readContinue Reading
Ahmed Alamir

Ahmed Alamir

World-class articles, delivered weekly.

By entering your email, you are agreeing to our privacy policy.

Cabin Fever Coding: A Node.js Back-end Tutorial

Missing the luxury of a good, old-fashioned remote control when the laptop is beyond easy reach? Transform your old smartphone into a remote and learn some basic Node.js/Express/Pug along the way.

16-minute readContinue Reading
Kevin Bloch

Kevin Bloch

Social Network Analysis Using Power BI and R: A Custom Visuals Guide

Microsoft’s Power BI is one of the most popular software solutions used to perform social network analysis. Here’s how to create custom Power BI visuals in R for compelling and flexible results.

15-minute readContinue Reading
Bharat Garg

Bharat Garg

How to Create a Secure Node.js GraphQL API

GraphQL is a query language for APIs, originally developed by Facebook for internal use. Since its public release, GraphQL has been compared to REST and other architectures.

In this article, Toptal JavaScript Developer Marcos Henrique da Silva demonstrates how to create a GraphQL Node.js API, and explains why you should try it, too.

11-minute readContinue Reading
Marcos Henrique da Silva

Marcos Henrique da Silva

Building a Node.js/TypeScript REST API, Part 1: Express.js

Learn practical TypeScript patterns with interfaces and extended classes. Avoid messy console.log() statements with Winston and the Node.js debug module. Create an Express.js-powered REST API back end from scratch!

12-minute readContinue Reading
Marcos Henrique da Silva

Marcos Henrique da Silva

Building a Node.js/TypeScript REST API, Part 3: MongoDB, Authentication, and Automated Tests

Our Express.js REST API series ends with a bang! Learn how to add a Dockerized MongoDB instance, Mongoose, JWT authentication, user permissions, and automated testing with Mocha, Chai, and SuperTest.

37-minute readContinue Reading
Marcos Henrique da Silva

Marcos Henrique da Silva

Express, Koa, Meteor, Sails.js: A Node.js Framework Comparison

Some platforms have an overwhelming number of options for web frameworks. Node.js, the event-driven server-side JavaScript environment, is one such platform. Whether it’s the minimalist Express or the full-blown MVC web framework Sails.js, Node.js seems to have it all.

In this article, Toptal Freelance Software Engineer Chuoxian Yang explores four of the most popular Node.js web frameworks and discusses how each framework stands out from the rest of the crowd in Node.js.

10-minute readContinue Reading
Chuoxian Yang

Chuoxian Yang

World-class articles, delivered weekly.

By entering your email, you are agreeing to our privacy policy.

Join the Toptal® community.