Quiz Entry - updated: 2026.07.05
What is Express?
Express is a minimal Node.js framework that wraps the verbose raw HTTP module in clean routing and middleware so you can build web servers and APIs with little boilerplate.
Key features:
- Routing (map URLs to handler functions)
- Middleware support
- Request/response utilities
- Static file serving
Basic structure:
import express from 'express';
const router = express.Router();
router.get('/hello', function(req, res) {
res.send('Hello World!');
});
export default router;
Why use Express?
- Raw Node.js HTTP handling is verbose
- Express provides clean, declarative routing
- Large ecosystem of middleware
- De facto standard for Node.js web servers
Go deeper:
Express: Hello World example — the minimal Express app, official docs.