DEV Community

Cover image for Get to Know E of MEAN Stack
Farhat Sharif
Farhat Sharif

Posted on

Get to Know E of MEAN Stack

Express

Express is a minimal web application framework for Node.js applications. It gives the ability to develop fundamental web application features quickly and easily. Express is used to build server-side applications.

Overview

Express provides the mechanisms to:

  1. Create web server and server-side settings, e.g. port to use for connecting, database access, etc.
  2. Write request handlers for HTTP request methods. These handlers can be required to read/write data from/to a database or many other tasks to satisfy the request and generate the response.
  3. Add middleware functions to simplify common web development tasks during the request processing, e.g. file upload and storage, password hashing, routing, error handling, etc.

Benefits

  • The minimalist approach makes it easy to learn and easy to build APIs with Express.
  • Middleware based. Integrate/create as many components as you want to achieve different functionalities. Easy integration with third-party middleware.
  • Unopinionated framework. Flexible framework for the developers to choose suitable components to solve the problems or complete their tasks. Fewer restrictions on which components to use and how to use them together.

Top comments (1)

Collapse
 
farhatsharifh profile image
Farhat Sharif • Edited

Do tell me in comments if you find Express easier to understand with this post.