Skip to main content
Express Logo

What is Express?

Express is a fast, unopinionated, minimalist web framework for Node.js. It provides a robust set of features for building web and mobile applications, making it one of the most popular Node.js frameworks.
Express requires Node.js 18 or higher. Make sure you have Node.js installed before getting started.

Key Features

Express comes with a comprehensive set of features that make building web applications straightforward and efficient:

Robust Routing

Define routes for your application using intuitive HTTP methods and URL patterns

High Performance

Focus on high performance with minimal overhead and optimized code execution

HTTP Helpers

Built-in utilities for redirection, caching, content negotiation, and more

Template Engines

View system supporting 14+ template engines via consolidate.js

Middleware Support

Powerful middleware system for request/response processing

Super-High Test Coverage

Battle-tested with extensive test coverage ensuring reliability

Philosophy

The Express philosophy is to provide small, robust tooling for HTTP servers, making it a great solution for:
  • Single page applications
  • Traditional websites
  • Hybrid applications
  • Public HTTP APIs
  • Microservices
Express does not force you to use any specific ORM or template engine. With support for over 14 template engines via @ladjs/consolidate, you can quickly craft your perfect framework.

Quick Example

Here’s a simple Express server that responds with “Hello World”:
import express from 'express'

const app = express()

app.get('/', (req, res) => {
  res.send('Hello World')
})

app.listen(3000, () => {
  console.log('Server is running on http://localhost:3000')
})

Get Started

Ready to build with Express? Follow these guides to get up and running:

Installation

Install Express using npm, yarn, or pnpm

Quick Start

Get a working Express server running in minutes

Hello World

Build your first Express application step-by-step

Routing Guide

Learn how to define routes and handle requests

Community and Support

Express has a vibrant community and extensive ecosystem:
Be sure to check the migration guide if you’re upgrading from an earlier version.

Build docs developers (and LLMs) love