Skip to content
Myr

Readme.md

This file

Path

Readme.md

113 lines · 3.7 KiB · Markdown

Last changed by

docs: move badgesDouglas Christopher Wilsonbefore adoptionfcbe68e

History of this file

Take it

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

update readme to v4 releaseRoman Shtylmanbefore adoptionb8dd60d

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

Merge pull request #1760 from jseip1679/masterJonathan Ongbefore adoptiond5b11c7

line 2why, one step back
2

docsTJ Holowaychukbefore adoption9cbcf23

lines 3–4why, one step back
3 Fast, unopinionated, minimalist web framework for [node](http://nodejs.org).
4

docs: move badgesDouglas Christopher Wilsonbefore adoptionfcbe68e

lines 5–8why, one step back
5 [![NPM version](https://badge.fury.io/js/express.svg)](http://badge.fury.io/js/express)
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)8 [![Gittip](http://img.shields.io/gittip/visionmedia.svg)](https://www.gittip.com/visionmedia/)

Merge pull request #1760 from jseip1679/masterJonathan Ongbefore adoptiond5b11c7

lines 9–20why, one step back
9
10```js11var express = require('express');12var app = express();1314app.get('/', function(req, res){15 res.send('Hello World');16});1718app.listen(3000);19```20

update readme to v4 releaseRoman Shtylmanbefore adoptionb8dd60d

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

Merge pull request #1760 from jseip1679/masterJonathan Ongbefore adoptiond5b11c7

lines 23–24why, one step back
23## Installation
24

Update Readme.md for Express 4Jonathan Ongbefore adoptione3b60e8

line 25why, one step back
25 $ npm install express

Merge pull request #1760 from jseip1679/masterJonathan Ongbefore adoptiond5b11c7

lines 26–28why, one step back
26
27## Quick Start28

Update Readme.mdJonathan Ongbefore adoption45500fb

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

Update Readme.md for Express 4Jonathan Ongbefore adoptione3b60e8

line 30why, one step back
30

Update Readme.mdJonathan Ongbefore adoption8472eff

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

Update Readme.md for Express 4Jonathan Ongbefore adoptione3b60e8

line 32why, one step back
32

Update Readme.mdJonathan Ongbefore adoption8472eff

line 33why, one step back
33 $ npm install -g express-generator@3

Merge pull request #1760 from jseip1679/masterJonathan Ongbefore adoptiond5b11c7

lines 34–44why, one step back
34
35 Create the app:3637 $ express /tmp/foo && cd /tmp/foo3839 Install dependencies:4041 $ npm install4243 Start the server:44

npm start to start the server!Jonathan Ongbefore adoptiona0e6bb5

line 45why, one step back
45 $ npm start

Merge pull request #1760 from jseip1679/masterJonathan Ongbefore adoptiond5b11c7

lines 46–58why, one step back
46
47## Features4849 * Robust routing50 * HTTP helpers (redirection, caching, etc)51 * View system supporting 14+ template engines52 * Content negotiation53 * Focus on high performance54 * Executable for generating applications quickly55 * High test coverage5657## Philosophy58

Merge pull request #1836 from fluxusfrequency/patch-1Roman Shtylmanbefore adoption2939075

line 59why, one step back
59 The Express philosophy is to provide small, robust tooling for HTTP servers, making

Merge pull request #1760 from jseip1679/masterJonathan Ongbefore adoptiond5b11c7

lines 60–62why, one step back
60 it a great solution for single page applications, web sites, hybrids, or public
61 HTTP APIs.62

Update Readme.md for Express 4Jonathan Ongbefore adoptione3b60e8

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

Merge pull request #1836 from fluxusfrequency/patch-1Roman Shtylmanbefore adoption2939075

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

Merge pull request #1760 from jseip1679/masterJonathan Ongbefore adoptiond5b11c7

lines 65–71why, one step back
65 you can quickly craft your perfect framework.
6667## More Information6869 * [Website and Documentation](http://expressjs.com/) stored at [visionmedia/expressjs.com](https://github.com/visionmedia/expressjs.com)70 * Join #express on freenode71 * [Google Group](http://groups.google.com/group/express-js) for discussion

Update Readme.md for Express 4Jonathan Ongbefore adoptione3b60e8

line 72why, one step back
72 * Follow [tjholowaychuk](http://twitter.com/tjholowaychuk) and [defunctzombie](https://twitter.com/defunctzombie) on twitter for updates

Merge pull request #1760 from jseip1679/masterJonathan Ongbefore adoptiond5b11c7

lines 73–78why, one step back
73 * Visit the [Wiki](http://github.com/visionmedia/express/wiki)
74 * [Русскоязычная документация](http://jsman.ru/express/)75 * Run express examples [online](https://runnable.com/express)7677## Viewing Examples78

Merge pull request #1836 from fluxusfrequency/patch-1Roman Shtylmanbefore adoption2939075

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

Merge pull request #1760 from jseip1679/masterJonathan Ongbefore adoptiond5b11c7

lines 80–84why, one step back
80
81 $ git clone git://github.com/visionmedia/express.git --depth 182 $ cd express83 $ npm install84

Merge pull request #1836 from fluxusfrequency/patch-1Roman Shtylmanbefore adoption2939075

line 85why, one step back
85Then run whichever tests you want:

Merge pull request #1760 from jseip1679/masterJonathan Ongbefore adoptiond5b11c7

lines 86–87why, one step back
86
87 $ node examples/content-negotiation

replace old contributors info with github's contributorsJonathan Ongbefore adoptionbb157c0

line 88why, one step back
88

Merge pull request #1836 from fluxusfrequency/patch-1Roman Shtylmanbefore adoption2939075

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

Merge pull request #1776 from ykumar6/masterJonathan Ongbefore adoption4cf868b

lines 90–91why, one step back
90
91<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 #1760 from jseip1679/masterJonathan Ongbefore adoptiond5b11c7

lines 92–94why, one step back
92
93## Running Tests94

Merge pull request #1836 from fluxusfrequency/patch-1Roman Shtylmanbefore adoption2939075

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

Merge pull request #1760 from jseip1679/masterJonathan Ongbefore adoptiond5b11c7

lines 96–98why, one step back
96
97 $ npm install98

Merge pull request #1836 from fluxusfrequency/patch-1Roman Shtylmanbefore adoption2939075

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

Merge pull request #1760 from jseip1679/masterJonathan Ongbefore adoptiond5b11c7

line 100why, one step back
100

Merge tag '3.7.0'Douglas Christopher Wilsonbefore adoption097cd0c

lines 101–103why, one step back
101```sh
102$ npm test103```

Merge pull request #1760 from jseip1679/masterJonathan Ongbefore adoptiond5b11c7

lines 104–105why, one step back
104
105## Contributors

Readme: add Roman as lead maintainerJonathan Ongbefore adoptionb9e9576

lines 106–109why, one step back
106
107 Author: [TJ Holowaychuk](http://github.com/visionmedia) 108 Lead Maintainer: [Roman Shtylman](https://github.com/defunctzombie) 109 Contributors: https://github.com/visionmedia/express/graphs/contributors

Merge pull request #1760 from jseip1679/masterJonathan Ongbefore adoptiond5b11c7

lines 110–112why, one step back
110
111## License112

remove license text from readmeRoman Shtylmanbefore adoption8e3d0a6

line 113why, one step back
113MIT