Skip to content
Myr

Readme.md

This file

Path

Readme.md

179 lines · 5.6 KiB · Markdown

Last changed by

remove silly out-of-date dep badgeTJ Holowaychukbefore adoption8a1e865

History of this file

Take it

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

Release 3.0.0rc2TJ Holowaychukbefore adoption20e8f08

lines 1–2why, one step back
1![express logo](http://f.cl.ly/items/0V2S1n0K1i3y1c122g04/Screen%20Shot%202012-04-11%20at%209.59.42%20AM.png)
2

remove silly out-of-date dep badgeTJ Holowaychukbefore adoption8a1e865

line 3why, one step back
3 Fast, unopinionated, minimalist web framework for [node](http://nodejs.org). [![Build Status](https://secure.travis-ci.org/visionmedia/express.png)](http://travis-ci.org/visionmedia/express)

Release 3.0.0rc2TJ Holowaychukbefore adoption20e8f08

lines 4–53why, one step back
4
5```js6var express = require('express');7var app = express();89app.get('/', function(req, res){10 res.send('Hello World');11});1213app.listen(3000);14```1516## Installation1718 $ npm install -g express1920## Quick Start2122 The quickest way to get started with express is to utilize the executable `express(1)` to generate an application as shown below:2324 Create the app:2526 $ npm install -g express27 $ express /tmp/foo && cd /tmp/foo2829 Install dependencies:3031 $ npm install3233 Start the server:3435 $ node app3637## Features3839 * Built on [Connect](http://github.com/senchalabs/connect)40 * Robust routing41 * HTTP helpers (redirection, caching, etc)42 * View system supporting 14+ template engines43 * Content negotiation44 * Focus on high performance45 * Environment based configuration46 * Executable for generating applications quickly47 * High test coverage4849## Philosophy5051 The Express philosophy is to provide small, robust tooling for HTTP servers. Making52 it a great solution for single page applications, web sites, hybrids, or public53 HTTP APIs.

link to runnableTJ Holowaychukbefore adoption24087d9

line 54why, one step back
54

Release 3.0.0rc2TJ Holowaychukbefore adoption20e8f08

lines 55–66why, one step back
55 Built on Connect you can use _only_ what you need, and nothing more, applications
56 can be as big or as small as you like, even a single file. Express does57 not force you to use any specific ORM or template engine. With support for over58 14 template engines via [Consolidate.js](http://github.com/visionmedia/consolidate.js)59 you can quickly craft your perfect framework.6061## More Information6263 * Join #express on freenode64 * [Google Group](http://groups.google.com/group/express-js) for discussion65 * Follow [tjholowaychuk](http://twitter.com/tjholowaychuk) on twitter for updates66 * Visit the [Wiki](http://github.com/visionmedia/express/wiki)

Merge branch 'master' of github.com:visionmedia/expressTJ Holowaychukbefore adoption6cfd01b

line 67why, one step back
67 * [Русскоязычная документация](http://jsman.ru/express/)

link to runnableTJ Holowaychukbefore adoption24087d9

line 68why, one step back
68 * Run express examples [online](https://runnable.com/express)

Release 3.0.0rc2TJ Holowaychukbefore adoption20e8f08

lines 69–71why, one step back
69
70## Viewing Examples71

Merge branch 'master' of github.com:visionmedia/expressTJ Holowaychukbefore adoption496ee40

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

Release 3.0.0rc2TJ Holowaychukbefore adoption20e8f08

line 73why, one step back
73

Merge branch 'master' of github.com:visionmedia/expressTJ Holowaychukbefore adoption496ee40

line 74why, one step back
74 $ git clone git://github.com/visionmedia/express.git --depth 1

Release 3.0.0rc2TJ Holowaychukbefore adoption20e8f08

lines 75–98why, one step back
75 $ cd express
76 $ npm install7778then run whichever tests you want:7980 $ node examples/content-negotiation8182## Running Tests8384To run the test suite first invoke the following command within the repo, installing the development dependencies:8586 $ npm install8788then run the tests:8990 $ make test9192## Contributors9394```95project: express96commits: 355997active : 468 days98files : 237

link to runnableTJ Holowaychukbefore adoption24087d9

line 99why, one step back
99authors:

Release 3.0.0rc2TJ Holowaychukbefore adoption20e8f08

lines 100–105why, one step back
100 1891 Tj Holowaychuk 53.1%
101 1285 visionmedia 36.1%102 182 TJ Holowaychuk 5.1%103 54 Aaron Heckmann 1.5%104 34 csausdev 1.0%105 26 ciaranj 0.7%

Merge branch 'master' of github.com:visionmedia/expressTJ Holowaychukbefore adoption2d49c0d

line 106why, one step back
106 21 Robert Sköld 0.6%

Release 3.0.0rc2TJ Holowaychukbefore adoption20e8f08

lines 107–151why, one step back
107 6 Guillermo Rauch 0.2%
108 3 Dav Glass 0.1%109 3 Nick Poulden 0.1%110 2 Randy Merrill 0.1%111 2 Benny Wong 0.1%112 2 Hunter Loftis 0.1%113 2 Jake Gordon 0.1%114 2 Brian McKinney 0.1%115 2 Roman Shtylman 0.1%116 2 Ben Weaver 0.1%117 2 Dave Hoover 0.1%118 2 Eivind Fjeldstad 0.1%119 2 Daniel Shaw 0.1%120 1 Matt Colyer 0.0%121 1 Pau Ramon 0.0%122 1 Pero Pejovic 0.0%123 1 Peter Rekdal Sunde 0.0%124 1 Raynos 0.0%125 1 Teng Siong Ong 0.0%126 1 Viktor Kelemen 0.0%127 1 ctide 0.0%128 1 8bitDesigner 0.0%129 1 isaacs 0.0%130 1 mgutz 0.0%131 1 pikeas 0.0%132 1 shuwatto 0.0%133 1 tstrimple 0.0%134 1 ewoudj 0.0%135 1 Adam Sanderson 0.0%136 1 Andrii Kostenko 0.0%137 1 Andy Hiew 0.0%138 1 Arpad Borsos 0.0%139 1 Ashwin Purohit 0.0%140 1 Benjen 0.0%141 1 Darren Torpey 0.0%142 1 Greg Ritter 0.0%143 1 Gregory Ritter 0.0%144 1 James Herdman 0.0%145 1 Jim Snodgrass 0.0%146 1 Joe McCann 0.0%147 1 Jonathan Dumaine 0.0%148 1 Jonathan Palardy 0.0%149 1 Jonathan Zacsh 0.0%150 1 Justin Lilly 0.0%151 1 Ken Sato 0.0%

Merge branch 'master' of github.com:visionmedia/expressTJ Holowaychukbefore adoption2d49c0d

line 152why, one step back
152 1 Maciej Małecki 0.0%

Release 3.0.0rc2TJ Holowaychukbefore adoption20e8f08

lines 153–155why, one step back
153 1 Masahiro Hayashi 0.0%
154```155

link to runnableTJ Holowaychukbefore adoption24087d9

line 156why, one step back
156## License

Release 3.0.0rc2TJ Holowaychukbefore adoption20e8f08

lines 157–179why, one step back
157
158(The MIT License)159160Copyright (c) 2009-2012 TJ Holowaychuk <tj@vision-media.ca>161162Permission is hereby granted, free of charge, to any person obtaining163a copy of this software and associated documentation files (the164'Software'), to deal in the Software without restriction, including165without limitation the rights to use, copy, modify, merge, publish,166distribute, sublicense, and/or sell copies of the Software, and to167permit persons to whom the Software is furnished to do so, subject to168the following conditions:169170The above copyright notice and this permission notice shall be171included in all copies or substantial portions of the Software.172173THE SOFTWARE IS PROVIDED 'AS IS', WITHOUT WARRANTY OF ANY KIND,174EXPRESS OR IMPLIED, INCLUDING BUT NOT LIMITED TO THE WARRANTIES OF175MERCHANTABILITY, FITNESS FOR A PARTICULAR PURPOSE AND NONINFRINGEMENT.176IN NO EVENT SHALL THE AUTHORS OR COPYRIGHT HOLDERS BE LIABLE FOR ANY177CLAIM, DAMAGES OR OTHER LIABILITY, WHETHER IN AN ACTION OF CONTRACT,178TORT OR OTHERWISE, ARISING FROM, OUT OF OR IN CONNECTION WITH THE179SOFTWARE OR THE USE OR OTHER DEALINGS IN THE SOFTWARE.