Skip to content
Myr

Readme.md

This file

Path

Readme.md

127 lines · 3.7 KiB · Markdown

Last changed by

docs: cleanup readme, update package descriptionFishrock123before adoptionbd69085

History of this file

Take it

The walk stopped after 200 commits: lines older than 185b526 point at it.

docs: cleanup readme, update package descriptionFishrock123before adoptionbd69085

line 1why, one step back
1[![Express Logo](https://i.cloudup.com/zfY6lL7eFa-3000x3000.png)](https://expressjs.com/)

Merge pull request #1892 from matheusazzi/patch-1Jonathan Ongbefore adoption185b526

line 2why, one step back
2

docs: cleanup readme, update package descriptionFishrock123before adoptionbd69085

line 3why, one step back
3 Fast, unopinionated, minimalist web framework for [node](https://nodejs.org).

Merge pull request #1892 from matheusazzi/patch-1Jonathan Ongbefore adoption185b526

line 4why, one step back
4

docs: cleanup readme, update package descriptionFishrock123before adoptionbd69085

line 5why, one step back
5 [![NPM Version](https://badge.fury.io/js/express.svg)](https://badge.fury.io/js/express)

docs: move badgesDouglas Christopher Wilsonbefore adoptionfcbe68e

lines 6–7why, one step back
6 [![Build Status](https://travis-ci.org/visionmedia/express.svg?branch=master)](https://travis-ci.org/visionmedia/express)
7 [![Coverage Status](https://img.shields.io/coveralls/visionmedia/express.svg)](https://coveralls.io/r/visionmedia/express)

docs: cleanup readme, update package descriptionFishrock123before adoptionbd69085

line 8why, one step back
8 [![Gittip](https://img.shields.io/gittip/visionmedia.svg)](https://www.gittip.com/visionmedia/)

Merge pull request #1892 from matheusazzi/patch-1Jonathan Ongbefore adoption185b526

lines 9–10why, one step back
9
10```js

docs: cleanup readme, update package descriptionFishrock123before adoptionbd69085

lines 11–12why, one step back
11var express = require('express')
12var app = express()

Merge pull request #1892 from matheusazzi/patch-1Jonathan Ongbefore adoption185b526

line 13why, one step back
13

docs: cleanup readme, update package descriptionFishrock123before adoptionbd69085

lines 14–16why, one step back
14app.get('/', function (req, res) {
15 res.send('Hello World')16})

Merge pull request #1892 from matheusazzi/patch-1Jonathan Ongbefore adoption185b526

line 17why, one step back
17

docs: cleanup readme, update package descriptionFishrock123before adoptionbd69085

line 18why, one step back
18app.listen(3000)

Merge pull request #1892 from matheusazzi/patch-1Jonathan Ongbefore adoption185b526

lines 19–20why, one step back
19```
20

docs: cleanup readme, update package descriptionFishrock123before adoptionbd69085

line 21why, one step back
21 **PROTIP** Be sure to read [Migrating from 3.x to 4.x](https://github.com/visionmedia/express/wiki/Migrating-from-3.x-to-4.x) as well as [New features in 4.x](https://github.com/visionmedia/express/wiki/New-features-in-4.x).

Update Readme.md for Express 4Jonathan Ongbefore adoptione3b60e8

line 22why, one step back
22

docs: cleanup readme, update package descriptionFishrock123before adoptionbd69085

line 23why, one step back
23### Installation

Merge pull request #1892 from matheusazzi/patch-1Jonathan Ongbefore adoption185b526

line 24why, one step back
24

docs: cleanup readme, update package descriptionFishrock123before adoptionbd69085

lines 25–27why, one step back
25```bash
26$ npm install express27```

Merge pull request #1892 from matheusazzi/patch-1Jonathan Ongbefore adoption185b526

lines 28–30why, one step back
28
29## Quick Start30

docs: cleanup readme, update package descriptionFishrock123before adoptionbd69085

line 31why, one step back
31 The quickest way to get started with express is to utilize the executable [`express(1)`](https://github.com/expressjs/generator) to generate an application as shown below:

Merge pull request #1892 from matheusazzi/patch-1Jonathan Ongbefore adoption185b526

line 32why, one step back
32

docs: cleanup readme, update package descriptionFishrock123before adoptionbd69085

line 33why, one step back
33 Install the executable. The executable's major version will match Express's:

Merge pull request #1892 from matheusazzi/patch-1Jonathan Ongbefore adoption185b526

line 34why, one step back
34

docs: cleanup readme, update package descriptionFishrock123before adoptionbd69085

lines 35–37why, one step back
35```bash
36$ npm install -g express-generator@437```

Merge pull request #1892 from matheusazzi/patch-1Jonathan Ongbefore adoption185b526

line 38why, one step back
38

docs: cleanup readme, update package descriptionFishrock123before adoptionbd69085

line 39why, one step back
39 Create the app:

Merge pull request #1892 from matheusazzi/patch-1Jonathan Ongbefore adoption185b526

line 40why, one step back
40

docs: cleanup readme, update package descriptionFishrock123before adoptionbd69085

lines 41–43why, one step back
41```bash
42$ express /tmp/foo && cd /tmp/foo43```

Merge pull request #1892 from matheusazzi/patch-1Jonathan Ongbefore adoption185b526

line 44why, one step back
44

docs: cleanup readme, update package descriptionFishrock123before adoptionbd69085

line 45why, one step back
45 Install dependencies:

Merge pull request #1892 from matheusazzi/patch-1Jonathan Ongbefore adoption185b526

line 46why, one step back
46

docs: cleanup readme, update package descriptionFishrock123before adoptionbd69085

lines 47–49why, one step back
47```bash
48$ npm install49```

Merge pull request #1892 from matheusazzi/patch-1Jonathan Ongbefore adoption185b526

line 50why, one step back
50

docs: cleanup readme, update package descriptionFishrock123before adoptionbd69085

lines 51–56why, one step back
51 Start the server:
5253```bash54$ npm start55```56

Merge pull request #1892 from matheusazzi/patch-1Jonathan Ongbefore adoption185b526

lines 57–72why, one step back
57## Features
5859 * Robust routing60 * HTTP helpers (redirection, caching, etc)61 * View system supporting 14+ template engines62 * Content negotiation63 * Focus on high performance64 * Executable for generating applications quickly65 * High test coverage6667## Philosophy6869 The Express philosophy is to provide small, robust tooling for HTTP servers, making70 it a great solution for single page applications, web sites, hybrids, or public71 HTTP APIs.72

Update Readme.md for Express 4Jonathan Ongbefore adoptione3b60e8

line 73why, one step back
73 Express does not force you to use any specific ORM or template engine. With support for over

docs: cleanup readme, update package descriptionFishrock123before adoptionbd69085

line 74why, one step back
74 14 template engines via [Consolidate.js](https://github.com/visionmedia/consolidate.js),

Merge pull request #1892 from matheusazzi/patch-1Jonathan Ongbefore adoption185b526

lines 75–78why, one step back
75 you can quickly craft your perfect framework.
7677## More Information78

docs: cleanup readme, update package descriptionFishrock123before adoptionbd69085

lines 79–83why, one step back
79 * [Website and Documentation](http://expressjs.com/) - [[website repo](https://github.com/visionmedia/expressjs.com)]
80 * [Github Organization](https://github.com/expressjs) for Official Middleware & Modules81 * [#express](https://webchat.freenode.net/?channels=express) on freenode IRC82 * Visit the [Wiki](https://github.com/visionmedia/express/wiki)83 * [Google Group](https://groups.google.com/group/express-js) for discussion

Merge pull request #1892 from matheusazzi/patch-1Jonathan Ongbefore adoption185b526

lines 84–88why, one step back
84 * [Русскоязычная документация](http://jsman.ru/express/)
85 * Run express examples [online](https://runnable.com/express)8687## Viewing Examples88

docs: cleanup readme, update package descriptionFishrock123before adoptionbd69085

line 89why, one step back
89 Clone the Express repo, then install the dev dependencies to install all the example / test suite dependencies:

Merge pull request #1892 from matheusazzi/patch-1Jonathan Ongbefore adoption185b526

line 90why, one step back
90

docs: cleanup readme, update package descriptionFishrock123before adoptionbd69085

lines 91–95why, one step back
91```bash
92$ git clone git://github.com/visionmedia/express.git --depth 193$ cd express94$ npm install95```

Merge pull request #1892 from matheusazzi/patch-1Jonathan Ongbefore adoption185b526

line 96why, one step back
96

docs: cleanup readme, update package descriptionFishrock123before adoptionbd69085

line 97why, one step back
97 Then run whichever example you want:

Merge pull request #1892 from matheusazzi/patch-1Jonathan Ongbefore adoption185b526

lines 98–100why, one step back
98
99 $ node examples/content-negotiation100

docs: cleanup readme, update package descriptionFishrock123before adoptionbd69085

line 101why, one step back
101 You can also view live examples here:

Merge pull request #1892 from matheusazzi/patch-1Jonathan Ongbefore adoption185b526

line 102why, one step back
102

docs: cleanup readme, update package descriptionFishrock123before adoptionbd69085

line 103why, one step back
103 <a href="https://runnable.com/express" target="_blank"><img src="https://runnable.com/external/styles/assets/runnablebtn.png" style="width:67px;height:25px;"></a>

Merge pull request #1892 from matheusazzi/patch-1Jonathan Ongbefore adoption185b526

lines 104–106why, one step back
104
105## Running Tests106

docs: cleanup readme, update package descriptionFishrock123before adoptionbd69085

line 107why, one step back
107 To run the test suite, first invoke the following command within the repo, installing the development dependencies:

Merge pull request #1892 from matheusazzi/patch-1Jonathan Ongbefore adoption185b526

line 108why, one step back
108

docs: cleanup readme, update package descriptionFishrock123before adoptionbd69085

lines 109–111why, one step back
109```bash
110$ npm install111```

Merge pull request #1892 from matheusazzi/patch-1Jonathan Ongbefore adoption185b526

line 112why, one step back
112

docs: cleanup readme, update package descriptionFishrock123before adoptionbd69085

line 113why, one step back
113 Then run the tests:

Merge pull request #1892 from matheusazzi/patch-1Jonathan Ongbefore adoption185b526

line 114why, one step back
114

docs: cleanup readme, update package descriptionFishrock123before adoptionbd69085

line 115why, one step back
115```bash

Merge tag '3.7.0'Douglas Christopher Wilsonbefore adoption097cd0c

lines 116–117why, one step back
116$ npm test
117```

Merge pull request #1892 from matheusazzi/patch-1Jonathan Ongbefore adoption185b526

line 118why, one step back
118

docs: cleanup readme, update package descriptionFishrock123before adoptionbd69085

line 119why, one step back
119### Contributors

Merge pull request #1892 from matheusazzi/patch-1Jonathan Ongbefore adoption185b526

line 120why, one step back
120

docs: cleanup readme, update package descriptionFishrock123before adoptionbd69085

lines 121–123why, one step back
121 * Author: [TJ Holowaychuk](https://github.com/visionmedia)
122 * Lead Maintainer: [Douglas Christopher Wilson](https://github.com/dougwilson)123 * [All Contributors](https://github.com/visionmedia/express/graphs/contributors)

Merge pull request #1892 from matheusazzi/patch-1Jonathan Ongbefore adoption185b526

line 124why, one step back
124

docs: cleanup readme, update package descriptionFishrock123before adoptionbd69085

lines 125–127why, one step back
125### License
126127 [MIT](LICENSE)