Express

noun

say it: “ek-SPRES” /ɪkˈsprɛs/

The most popular web framework for Node, used to build APIs and websites from routes and middleware.

What is Express?

Express is the most popular Node web framework: define routes and middleware to build APIs and websites.

import express from 'express';
const app = express();
app.get('/', (req, res) => res.send('Welcome to Recipe Box'));
app.listen(3000);

In a sentence

  • “The coffee club's API is built with Express.”
  • “In Express, app.get("/menu", ...) answers GET requests for /menu.”

Level: Apprentice · More Node.js terms at this level

Updated