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 7c68822 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/)

bump connect, mocha, and shouldJonathan Ongbefore adoption7c68822

lines 2–4why, one step back
2
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/)

bump connect, mocha, and shouldJonathan Ongbefore adoption7c68822

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

bump connect, mocha, and shouldJonathan Ongbefore adoption7c68822

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

bump connect, mocha, and shouldJonathan Ongbefore adoption7c68822

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

bump connect, mocha, and shouldJonathan Ongbefore adoption7c68822

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

bump connect, mocha, and shouldJonathan Ongbefore adoption7c68822

lines 46–62why, 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## Philosophy5859 The Express philosophy is to provide small, robust tooling for HTTP servers, making60 it a great solution for single page applications, web sites, hybrids, or public61 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

bump connect, mocha, and shouldJonathan Ongbefore adoption7c68822

lines 64–71why, one step back
64 14 template engines via [Consolidate.js](http://github.com/visionmedia/consolidate.js),
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

bump connect, mocha, and shouldJonathan Ongbefore adoption7c68822

lines 73–100why, 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 Examples7879Clone the Express repo, then install the dev dependencies to install all the example / test suite dependencies:8081 $ git clone git://github.com/visionmedia/express.git --depth 182 $ cd express83 $ npm install8485Then run whichever tests you want:8687 $ node examples/content-negotiation8889You can also view live examples here:9091<a href="https://runnable.com/express" target="_blank"><img src="https://runnable.com/external/styles/assets/runnablebtn.png" style="width:67px;height:25px;"></a>9293## Running Tests9495To run the test suite, first invoke the following command within the repo, installing the development dependencies:9697 $ npm install9899Then run the tests:100

Merge tag '3.7.0'Douglas Christopher Wilsonbefore adoption097cd0c

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

bump connect, mocha, and shouldJonathan Ongbefore adoption7c68822

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

bump connect, mocha, and shouldJonathan Ongbefore adoption7c68822

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

remove license text from readmeRoman Shtylmanbefore adoption8e3d0a6

line 113why, one step back
113MIT