Skip to content
LearnStack
Node.js curriculum

Node.js

11 lessons ready

Run JavaScript on the server: modules, npm, files, Express, REST APIs.

0/11 done0%

Beginner

  1. What is Node.js?

    JavaScript outside the browser. What Node.js is and how to run your first script.

    6 minFree preview

  2. Modules

    Split code into files with export and import, and use Node's built-in modules.

    7 minFree preview

  3. npm and packages

    Install other people's code with npm, and understand package.json and node_modules.

    7 min Account

  4. Working with files

    Read and write files with the fs module, using async and await.

    8 min Account

  5. Your first web server

    Build a tiny HTTP server with the built-in http module and see requests and responses.

    8 min Account

Intermediate

  1. Express basics

    Routing, route parameters and query strings in a few lines with the Express framework.

    9 min Account

  2. Building a REST API

    Create, read, update and delete resources over HTTP with correct methods and status codes.

    10 min Account

  3. Environment variables

    Keep secrets and settings out of your code with process.env and .env files.

    8 min Account

Advanced

  1. Middleware

    Functions that sit between a request and a response: logging, authentication checks and error handling.

    9 min Account

  2. Databases

    Store data permanently with SQL: create tables, insert, query and update, using Node's built-in SQLite.

    10 min Account

  3. Authentication

    Store passwords safely with hashing and salt, and issue signed tokens to prove who a user is.

    10 min Account