Express application

Express is a minimalist web framework for Node.js. You create an application with express(), attach routes and middleware to it, then start it with listen. It simplifies reading the request, sending responses (res.json), and organizing an HTTP API.

Example

const app = express();
app.get('/', (req, res) => res.send('ok'));
app.listen(3000);

Related concepts

The whole glossary