Friday, February 17, 2017

ExpressJS - Overview

A web application framework provides you with a simple API to build websites, webapps and backends. You need not worry about low level protocols, processes, etc.

What is express?

Express provides a minimal interface to us to build our applications. It is minimal, providing us the absolutely required tools to build our app and flexible, there are numerous modules available on npm for express, which can be directly plugged into express.
Express was developed by TJ Holowaychuk and is maintained by Node.js foundation and numerous open source contributors.

Why express?

Unlike its competitors like Rails and Django, which have an opinionated way of building applications, express has no "best way" do something. It is very flexible and pluggable.

Pug

Pug(earlier known as Jade) is a terse language for writing HTML templates. It:
  • Produces HTML
  • Supports dynamic code
  • Supports reusability (DRY)
It is one of the most popular templating language used with express.

MongoDB and Mongoose

MongoDB is an open-source, document database designed for ease of development and scaling. We'll use this database to store data.
Mongoose is a client API for node.js which makes it easy to access our database from our express application.

No comments:

Post a Comment