Node.js

Showing 10-18 of 42 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 ChevronTechnology

Creating a Secure REST API in Node.js

by Marcos Henrique da Silva

As patterns go, REST APIs are so useful and ubiquitous that every web developer, regardless of language or platform, should know how to build one. In this article, Toptal Freelance JavaScript Developer Marcos Henrique da Silva shows how to create a simple and secure REST API for user management on Node.js.

13 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 Martiny

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

Join the Toptal® community.