Course · 7 lessons ~48 hr Intermediate

Node.js & Server-Side JavaScript

Node.js & Server-Side JavaScript covers: Node.js in Practice, The Express Handbook, Node.js Web Development, Hands-on Node.js. Master Node.js — the event loop, streams, the module system, building HTTP servers, Express middleware, REST APIs, and working with databases. Understand server-side JavaScript from the perspective of someone who already knows server-side programming (Rails). Express middleware is Rack middleware. app.use(cors()) is like config.middleware.insert_before ActionDispatch::Static, Rack::Cors. package.json is Gemfile. npm install is bundle install. node_modules/ is vendor/bundle/. Express routes map to routes.rb. The biggest difference: Rails gives you everything (ORM, migrations, mailer, jobs, asset pipeline) in one framework. Express gives you a routing layer and you assemble everything else from npm packages. This is the "convention over configuration" vs "composition over convention" debate. Rails is opinionated; Node is a choose-your-own-adventure.

reading · we frame, you read MIT or the canonical taught · we author, no canonical fits ↺ spirals back to earlier lessons
Course locked

Complete React Deep Dive first.

This course unlocks once you've finished its prerequisite. Open prerequisite →

7 lessons. Read in order; spiral back when you need to. By the end you'll have used the core ideas twice — once on the abstract, once on something you'll meet at work next week.