Node.js: Build and Ship an API
Exit

Lesson 14 of 14 · Security and deployment

Deploying a Node API: pm2 or systemd, nginx and Docker

1 h 10 min Node.js 22 (Debian, git, npm, python3)

Objective

Take the shop API from "it works on my PC" to a production service: one that starts on its own, restarts after a crash, serves over HTTPS behind nginx, updates without downtime, and can run in a clean Docker image. This lesson brings together what you have learned; the system details are in the Linux courses (systemd, nginx, firewall) and the Docker course (images, Compose, deployment on a VPS).

This lesson is part of the full course

Unlock Node.js: Build and Ship an API to read every lesson, do the exercises, access the simulations and earn your certificate.

Already enrolled? Log in.