← Back to Home

Week 10 - Node.js Foundations

Reference files for the live-coding demos, in teaching order. Open any example and use View Source (right-click → View Page Source) to read the code — then rebuild it yourself.

▶  Open the Interactive Slides

1. Node.js Basics

Core concepts and global objects

2. npm & Modules

Package management and module systems

3. Express.js Basics

Creating a web server

4. REST API Design

Building a complete API

Tip: don't copy-paste. Type the code yourself, break it on purpose, then fix it. Use DevTools (F12) to inspect what's happening.