English 中文(简体)
ExpressJS - Overview
  • 时间:2024-09-17

ExpressJS - Overview


Previous Page Next Page  

ExpressJS is a web apppcation framework that provides you with a simple API to build websites, web apps and back ends. With ExpressJS, you need not worry about low level protocols, processes, etc.

What is Express?

Express provides a minimal interface to build our apppcations. It provides us the tools that are required to build our app. It is flexible as there are numerous modules available on npm, which can be directly plugged into Express.

Express was developed by TJ Holowaychuk and is maintained by the Node.js foundation and numerous open source contributors.

Why Express?

Unpke its competitors pke Rails and Django, which have an opinionated way of building apppcations, Express has no "best way" to do something. It is very flexible and pluggable.

Pug

Pug (earper known as Jade) is a terse language for writing HTML templates. It −

    Produces HTML

    Supports dynamic code

    Supports reusabipty (DRY)

It is one of the most popular template language used with Express.

MongoDB and Mongoose

MongoDB is an open-source, document database designed for ease of development and scapng. This database is also used to store data.

Mongoose is a cpent API for node.js which makes it easy to access our database from our Express apppcation.

Advertisements