Skip to content
Justice Tech School

Express and REST APIsPremium

Express adds routing and middleware on top of http. Define routes with app.get and app.post, parse JSON with express.json() and respond with res.json. Install with npm install express. Shown as code because packages are not installed on this page.

This is a Premium lesson

All the basic lessons are free. Advanced and in-depth lessons, with every example, exercise and quiz, are included with a Premium subscription.

These free lessons are for learning. Join a full course for projects, mentor feedback and a verified certificate.