grammatical adjustments (#28200)
* grammatical adjustments * fix: changed or to and
This commit is contained in:
committed by
Randell Dawson
parent
cda3febdbe
commit
3be922b4c5
@ -3,11 +3,11 @@ title: ExpressJS
|
||||
---
|
||||
## ExpressJS
|
||||
|
||||
When it comes to build web applications using Node.js, creating a server can take a lot of time. Over the years Node.js has matured enough due to the support from community. Using Node.js as a backend for web applications and websites help the developers to start working on their application or product quickly. In this tutorial, we are going to look into Expressjs which is a Node.js framework for web development that comes with features like routing and rendering and support for REST APIs.
|
||||
When it comes to building web applications using Node.js, creating a server can take a lot of time. Over the years Node.js has matured enough due to the support from community. Using Node.js as a backend for web applications and websites help the developers to start working on their application or product quickly. In this tutorial, we are going to look into Expressjs which is a Node.js framework for web development that comes with features like routing and rendering and support for REST APIs.
|
||||
|
||||
## What is Express?
|
||||
|
||||
Express is the most popular Node.js framework because it requires minimum setup to start an application or an API and is fast, and unopinionated at the same time. In other words, it does not enforces its own philosophy that a application or API should be built in a specific way, unlike Rails and Django. Its flexibility can be calculated by the number of `npm` modules available which makes it pluggable at the same time. If you have basic knowledge of HTML, CSS, and JavaScript and how Node.js works in general, in no time you will be able to get started with Expressjs.
|
||||
Express is the most popular Node.js framework because it requires minimum setup to start an application or an API and is fast, and unopinionated at the same time. In other words, it does not enforces its own philosophy that an application or API should be built in a specific way, unlike Rails and Django. Its flexibility can be calculated by the number of `npm` modules available which makes it pluggable at the same time. If you have basic knowledge of HTML, CSS, and JavaScript and how Node.js works in general, in no time you will be able to get started with Expressjs.
|
||||
|
||||
Express was developed by TJ Holowaychuk and is now maintained by Node.js foundation and open source developers. To get started with the development using Express, you need to have Node.js and npm installed. You can install [Node.js](https://nodejs.org/en/) on your local machine and along with it comes the command line utility `npm` that will help us to install plugins or as called dependencies later on in our project.
|
||||
|
||||
@ -24,7 +24,7 @@ If you are getting the version number instead of an error that means you have in
|
||||
|
||||
## Why use Expressjs?
|
||||
|
||||
Before we start with mechanism of using Express as the backend framework, let us first explore why we should consider it using or the reasons of its popularity.
|
||||
Before we start with mechanism of using Express as the backend framework, let us first explore why we should consider using it and the reasons for its popularity.
|
||||
|
||||
* Express lets you build single page, multi-page, and hybrid web and mobile applications. Other common backend use is to provide an API for a client (whether web or mobile).
|
||||
* It comes with a default template engine, Jade which helps to facilitate the flow of data into a website structure and does support other template engines.
|
||||
@ -36,7 +36,7 @@ Whenever we create a project using `npm`, our project must have a `package.json`
|
||||
|
||||
### Creating package.json
|
||||
|
||||
A JSON (JavaScript Object Notation) file is contains every information about any Express project. The number of modules installed, the name of the project, the version, and other meta information. To add Expressjs as a module in our project, first we need to create a project directory and then create a package.json file.
|
||||
A JSON (JavaScript Object Notation) file contains every information about any Express project. The number of modules installed, the name of the project, the version, and other meta information. To add Expressjs as a module in our project, first we need to create a project directory and then create a package.json file.
|
||||
|
||||
```shell
|
||||
mkdir express-app-example
|
||||
|
Reference in New Issue
Block a user