Node.js: Build and Ship an API
Exit

Lesson 3 of 14 · Node.js fundamentals

Files and paths: node:fs/promises, node:path and JSON

50 min Node.js 22 (Debian, git, npm, python3)

Objective

Handle an application's files (a riad's data, CSV exports, configuration) without blocking the server, with paths that work whatever folder you start the program from, and with correct error handling.

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.