xxxxxxxxxx
.
├── app.js
├── bin
│ └── www
├── package.json
├── public
│ ├── images
│ ├── javascripts
│ └── stylesheets
│ └── style.css
├── routes
│ ├── index.js
│ └── users.js
└── views
├── error.pug
├── index.pug
└── layout.pug
7 directories, 9 files
xxxxxxxxxx
Express is a minimal and flexible Node.js web application framework
that provides a robust set of features for building web and mobile applications.
xxxxxxxxxx
const express = require('express')
const app = express()
const port = 3000
app.get('/', (req, res) => {
res.send('Hello World!')
})
app.listen(port, () => {
console.log(`Example app listening on port ${port}`)
})
xxxxxxxxxx
Express is a minimal and flexible Node.js web application framework
that provides a robust set of features for web and mobile
applications.
xxxxxxxxxx
Express.js, or simply Express, is a back end web application
framework for building RESTful APIs with Node.js,
released as free and open-source software under the MIT License.
It is designed for building web applications and APIs.
It has been called the de facto standard server framework for Node.js.
ps: Cool companies such as Paypal and Twiter uses express ;)
xxxxxxxxxx
const express = require('express');
const app = express();
const port = 3000;
app.get('/', (req, res) => {
res.send('Hello World!')
});
app.listen(port, () => {
console.log(`App listening at http://localhost:${port}`)
});
xxxxxxxxxx
Express is a minimal and flexible Node.js web application framework
that provides a robust set of features for web and mobile
applications.