Skip to main content
D
Node.js
Express.js Introduction

Express.js Introduction

Express is a fast and simple web framework for Node.js.

Read Time
5 min read
Difficulty
Beginner
Last Updated
Jun 15, 2026
Version
v1.0.0

Introduction

Writing a full web server using pure Node.js takes a lot of complicated code. Express.js is a free package that simplifies the process drastically. It is the most popular framework for building APIs and websites in Node.js.

Example

Example
1/* this starts an express server */
2const express = require('express');
3const app = express();
4
5app.get('/', (req, res) => {
6  res.send('Hello from Express!');
7});
8
9app.listen(3000);

Key Points

  • Express makes setting up a server extremely easy.
  • It handles complex routing automatically.
  • It uses middleware to process incoming requests.
  • It is the "E" in the popular MERN stack.

Up Next

Continue your journey with the next topic.

Go to Express Routing