Tutorial series

How To Code in Node.js

How To Code in Node.js

Introduction

Node.js is a popular open-source runtime environment that can execute JavaScript outside of the browser. The Node runtime is commonly used for back-end web development, leveraging its asynchronous capabilities to create networking applications and web servers. Node also is a popular choice for building command line tools.

In this series, you will go through exercises to learn the basics of how to code in Node.js, gaining powerful tools for back-end and full stack development in the process.

Tutorials in series

Tutorial

How To Write and Run Your First Program in Node.js

Tutorial

How To Use the Node.js REPL

Tutorial

How To Use Node.js Modules with npm and package.json

Tutorial

How To Create a Node.js Module

Tutorial

How To Write Asynchronous Code in Node.js

Tutorial

How To Test a Node.js Module with Mocha and Assert

Tutorial

How To Create a Web Server in Node.js with the HTTP Module

Tutorial

Using Buffers in Node.js

Tutorial

Using Event Emitters in Node.js

Become a contributor for community

Get paid to write technical tutorials and select a tech-focused charity to receive a matching donation.

DigitalOcean Documentation

Full documentation for every DigitalOcean product.

Resources for startups and SMBs

The Wave has everything you need to know about building a business, from raising funding to marketing your product.

Get our newsletter

Stay up to date by signing up for DigitalOcean’s Infrastructure as a Newsletter.

New accounts only. By submitting your email you agree to our Privacy Policy

The developer cloud

Scale up as you grow — whether you're running one virtual machine or ten thousand.

Get started for free

Sign up and get $200 in credit for your first 60 days with DigitalOcean.*

*This promotional offer applies to new accounts only.