Search results for "node"

Showing 45-55 of 255 results

Separation Anxiety: A Tutorial for Isolating Your System with Linux Namespaces

Linux namespaces make it possible to run a whole range of applications on a single real machine and ensure no two of them can interfere with each other, without having to resort to using virtual machines. In a single-user computer, a single system environment may be fine. But on a server, where you may want to run multiple services, it is essential to security and stability that the services are as isolated from each other as possible.

13-minute readContinue Reading
Mahmud Ridwan

Mahmud Ridwan

Integration and End-to-End Tests Made Easy With Node.js and MongoDB

Interacting with a real database during integration and end-to-end testing can pose distinct challenges. An effective workaround is to use an in-memory database that integrates seamlessly with your testing framework and provides APIs for manipulating state directly from your test code.

In this article, Toptal Software Engineer Mikhail Angelov demonstrates how to do just that—and how to write straightforward integration and end-to-end tests for Node.js and MongoDB applications without the need for complicated setup/teardown code.

7-minute readContinue Reading
Mikhail Angelov

Mikhail Angelov

Working With TypeScript, Dependency Injection, and Discord Bots

Types and testable code are two of the most effective ways of avoiding bugs. In this tutorial, discover TypeScript best practices while you create a Discord bot from scratch.

10-minute readContinue Reading
Michał Krakiewicz

Michał Krakiewicz

Introducing Battlescripts: Bots, Ships, Mayhem!

Programming is about having fun and enjoying the process of creating something cool. That is why we decided to build a bot-vs-bot game platform around Battleship and make it open source. In this article, we take a look at the code and mechanics of the extensible engine behind this platform.

10-minute readContinue Reading
Mahmud Ridwan

Mahmud Ridwan

Benchmarking A Node.js Promise

You can just write sequentially executed code in JavaScript, but should you?

In this article, Toptal Freelance JavaScript Developer Omar Waleed tests the widespread Node.js belief that synchronous code degrades performance and is, in a sense, just plain evil. Is this really true?

7-minute readContinue Reading
Omar Waleed

Omar Waleed

World-class articles, delivered weekly.

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

Implementing Serverless Node.js Functions Using Google Cloud

Serverless computing is an architecture style in which the code is executed in a cloud platform where we don’t need to worry about the hardware and software setup, security, performance, and CPU idle time costs. It’s an advancement of cloud computing that goes beyond infrastructure that abstracts the software environment as well. It means no configuration is required to run the code.

6-minute readContinue Reading
Vignes Aruljothi

Vignes Aruljothi

MIDI Tutorial: Creating Browser-Based Audio Applications Controlled by MIDI Hardware

Modern web browsers provide a rich set of APIs; some of which have been around for a long time, and have since been used to build powerful web applications.

Web Audio API has been popular among HTML5 game developers, however, the Web MIDI API and its capabilities have yet to be utilized. In this article, Toptal engineer Stéphane P. Péricat guides you through the basics of the Web MIDI API, and shows you how to build a simple monosynth to play with your favorite MIDI device.

15-minute readContinue Reading
Stéphane P. Péricat

Stéphane P. Péricat

Init.js: A Guide to the Why and How of Full-stack JavaScript

After much thought, I decided to engineer a solution to the idea abandonment problem. I call it the ‘Init’ project (or Init.js).

The core of the idea is to have a single project to start them all, to let the developer or the technical founder make all of the essential decisions at once, and receive an appropriate starting template based on those decisions.

14-minute readContinue Reading
Alejandro Hernandez

Alejandro Hernandez

In this article, I’ll go through some of the interesting features and libraries that are available to use with React. Even if you don’t plan on using React, taking a look at its ecosystem is inspiring. You may want to simplify your build system using the powerful, yet comparatively easy to configure, module bundler Webpack, or start writing ECMAScript 6 and even ECMAScript 7 today with the Babel compiler. So, let’s explore the React ecosystem!

22-minute readContinue Reading
Tomas Holas

Tomas Holas

Automatically Update Elastic Stack with Ansible Playbooks

The Elastic Stack is constantly releasing new and amazing features, and often delivers two new releases every month. However, even though the Elastic website maintains clear and detailed documentation, every upgrade involves a series of tedious steps. That is why one engineer decided to automate the whole process.

In this article, Toptal Freelance Linux Developer Renato Araujo walks us through a series of Ansible Playbooks he developed to auto-upgrade his Elastic Stack installation.

13-minute readContinue Reading
Renato Araujo

Renato Araujo

How to Build a Raspberry Pi Server for Development

The Raspberry Pi is a little computer that you can get for as low as USD $5 and on which you can run many different types of software and build many different projects. In this article, I’m going to guide you through the process of setting it up as a home development server and deploying a full-stack JavaScript application that you can access from outside your network. This is great for setting up your own remote digital workspace, or simply to have control over the hardware you use for development.

10-minute readContinue Reading
Pablo Villoslada Puigcerber

Pablo Villoslada Puigcerber

World-class articles, delivered weekly.

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

Join the Toptal® community.