Node.js

Showing 19-27 of 49 results
EngineeringIcon ChevronBack-end

Is It Time to Use Node 8?

By Youssef Sherif

Node 8 has brought significant performance and feature upgrades. Should you use it on new projects? Is it worth upgrading existing codebases? In this article, Toptal Freelance JavaScript Developer Youssef Sherif gives a tour of Node 8's biggest changes and what they mean for your project.

13 minute readContinue Reading
EngineeringIcon ChevronTechnology

How to Build a Raspberry Pi Server for Development

By Pablo Villoslada Puigcerber

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
EngineeringIcon ChevronBack-end

Web Scraping with a Headless Browser: A Puppeteer Tutorial

By Nick Chikovani

In this article, Toptal Freelance JavaScript Developer Nick Chikovani shows how easy it is to perform web scraping using a headless browser. Specifically, he provides a Puppeteer tutorial, going through a few examples of how to control Google Chrome to take screenshots and gather structured data.

10 minute readContinue Reading
EngineeringIcon ChevronBack-end

How to Do JWT Authentication With an Angular 6 SPA

By Sebastian Schocke

JSON web tokens (JWTs) provide a method of authenticating requests that's convenient, compact, and secure. More often than not, Angular apps will include them in their data flows. In this tutorial, Toptal Freelance Software Engineer Sebastian Schocke shows how to implement JWT authentication in an Angular 6 single-page application (SPA), complete with a Node.js back-end.

13 minute readContinue Reading
EngineeringIcon ChevronBack-end

One-click Login With Blockchain: A MetaMask Tutorial

By Amaury M

Online users are becoming increasingly resistant to traditional email/password registration processes. One-click social logins via Facebook, Google, or GitHub are better, but they come with data privacy trade-offs. This article introduces a one-click, cryptographically-secure login flow using MetaMask, with all data stored on the app's own back-end.

13 minute readContinue Reading
EngineeringIcon ChevronTechnology

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

By Mikhail Angelov

Dealing with a real database for integration and end-to-end testing can pose some challenges. One way of working around them is to use an in-memory database that integrates well with the testing framework and provides APIs to manipulate its state from test code. In this article, Toptal Freelance Software Engineer Mikhail Angelov shows how you can write integration and end-to-end tests easily for your Node.js and MongoDB application without having to write complicated setup/teardown code.

7 minute readContinue Reading
EngineeringIcon ChevronBack-end

Asynchronous JavaScript: From Callback Hell to Async and Await

By Demir Selmanovic

Asynchronous programming used to be a challenge even for seasoned professionals, leading to aptly named phenomena like Callback Hell. In this article, Toptal JavaScript Developer Demir Selmanovic explains how async functions took us out of purgatory and why you should be using them.

5 minute readContinue Reading
EngineeringIcon ChevronBack-end

Implementing Serverless Node.js Functions Using Google Cloud

By Vignes Aruljothi

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
EngineeringIcon ChevronBack-end

Server-side I/O Performance: Node vs. PHP vs. Java vs. Go

By Brad Peabody

Understanding the Input/Output (I/O) model of your application can mean the difference between an application that deals with the load it is subjected to, and one that crumples in the face of real-world uses cases. Perhaps while your application is small and does not serve high loads, it may matter far less. But as your application’s traffic load increases, working with the wrong I/O model can get you into a world of hurt.

16 minute readContinue Reading

Join the Toptal® community.