Skip to content
Myr

Readme.md

This file

Path

Readme.md

143 lines · 4.6 KiB · Markdown

Last changed by

#express on freenodeTj Holowaychukbefore adoptionf0277d3

History of this file

Take it

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

Fixed stylus example for latest versionTj Holowaychukbefore adoptionc1b72ac

lines 1–18why, one step back
1
2# Express3 4 Insanely fast (and small) server-side JavaScript web development framework5 built on [node](http://nodejs.org) and [Connect](http://github.com/senchalabs/connect).6 7 var app = express.createServer();8 9 app.get('/', function(req, res){10 res.send('Hello World');11 });12 13 app.listen(3000);1415## Installation1617 $ npm install express18

npm 1.x docsTj Holowaychukbefore adoption0cb8668

lines 19–22why, one step back
19or to access the `express(1)` executable install globally:
2021 $ npm install -g express22

added quick start to guideTj Holowaychukbefore adoption723774a

line 23why, one step back
23## Quick Start

express(1) usage docsTj Holowaychukbefore adoptionc3fbd3f

lines 24–39why, one step back
24
25 The quickest way to get started with express is to utilize the executable `express(1)` to generate an application as shown below:2627 Create the app:2829 $ npm install -g express30 $ express /tmp/foo && cd /tmp/foo3132 Install dependencies:3334 $ npm install -d3536 Start the server:3738 $ node app.js39

Fixed stylus example for latest versionTj Holowaychukbefore adoptionc1b72ac

lines 40–77why, one step back
40## Features
4142 * Robust routing43 * Redirection helpers44 * Dynamic view helpers45 * Content negotiation46 * Focus on high performance47 * View rendering and partials support48 * Environment based configuration49 * Session based flash notifications50 * Built on [Connect](http://github.com/senchalabs/connect)51 * High test coverage52 * Executable for generating applications quickly53 * Application level view options5455Via Connect:5657 * Session support58 * Cache API59 * Mime helpers60 * ETag support61 * Persistent flash notifications62 * Cookie support63 * JSON-RPC64 * Logging65 * and _much_ more!6667## Contributors6869The following are the major contributors of Express (in no specific order).7071 * TJ Holowaychuk ([visionmedia](http://github.com/visionmedia))72 * Ciaran Jessup ([ciaranj](http://github.com/ciaranj))73 * Aaron Heckmann ([aheckmann](http://github.com/aheckmann))74 * Guillermo Rauch ([guille](http://github.com/guille))7576## More Information77

#express on freenodeTj Holowaychukbefore adoptionf0277d3

line 78why, one step back
78 * #express on freenode

link to express-exposeTj Holowaychukbefore adoption961146a

line 79why, one step back
79 * [express-expose](http://github.com/visionmedia/express-expose) expose objects, functions, modules and more to client-side js with ease

link typoTj Holowaychukbefore adoptionb122bf2

line 80why, one step back
80 * [express-configure](http://github.com/visionmedia/express-configuration) async configuration support

Fixed stylus example for latest versionTj Holowaychukbefore adoptionc1b72ac

lines 81–82why, one step back
81 * [express-messages](http://github.com/visionmedia/express-messages) flash notification rendering helper
82 * [express-namespace](http://github.com/visionmedia/express-namespace) namespaced route support

linkTj Holowaychukbefore adoption15d4047

line 83why, one step back
83 * [express-params](https://github.com/visionmedia/express-params) param pre-condition functions

express-mongoose linkTj Holowaychukbefore adoption5b33788

line 84why, one step back
84 * [express-mongoose](https://github.com/LearnBoost/express-mongoose) plugin for easy rendering of Mongoose async Query results

Fixed stylus example for latest versionTj Holowaychukbefore adoptionc1b72ac

lines 85–87why, one step back
85 * Follow [tjholowaychuk](http://twitter.com/tjholowaychuk) on twitter for updates
86 * [Google Group](http://groups.google.com/group/express-js) for discussion87 * Visit the [Wiki](http://github.com/visionmedia/express/wiki)

"Japanese Documentation" in Japanese 日本語ドキュメンテーション :)Tj Holowaychukbefore adoption40ccb59

line 88why, one step back
88 * [日本語ドキュメンテーション](http://hideyukisaito.com/doc/expressjs/) by [hideyukisaito](https://github.com/hideyukisaito)

Fixed stylus example for latest versionTj Holowaychukbefore adoptionc1b72ac

lines 89–99why, one step back
89 * Screencast - [Introduction](http://bit.ly/eRYu0O)
90 * Screencast - [View Partials](http://bit.ly/dU13Fx)91 * Screencast - [Route Specific Middleware](http://bit.ly/hX4IaH)92 * Screencast - [Route Path Placeholder Preconditions](http://bit.ly/eNqmVs)9394## Node Compatibility9596Express 1.x is compatible with node 0.2.x and connect < 1.0.9798Express 2.x is compatible with node 0.4.x and connect 1.x99

Merge branch 'refactor/dev-deps'Tj Holowaychukbefore adoption7999386

lines 100–119why, one step back
100## Viewing Examples
101102First install the dev dependencies to install all the example / test suite deps:103104 $ npm install105106then run whichever tests you want:107108 $ node examples/jade/app.js109110## Running Tests111112To run the test suite first invoke the following command within the repo, installing the development dependencies:113114 $ npm install115116then run the tests:117118 $ make test119

Fixed stylus example for latest versionTj Holowaychukbefore adoptionc1b72ac

lines 120–143why, one step back
120## License
121122(The MIT License)123124Copyright (c) 2009-2011 TJ Holowaychuk &lt;tj@vision-media.ca&gt;125126Permission is hereby granted, free of charge, to any person obtaining127a copy of this software and associated documentation files (the128'Software'), to deal in the Software without restriction, including129without limitation the rights to use, copy, modify, merge, publish,130distribute, sublicense, and/or sell copies of the Software, and to131permit persons to whom the Software is furnished to do so, subject to132the following conditions:133134The above copyright notice and this permission notice shall be135included in all copies or substantial portions of the Software.136137THE SOFTWARE IS PROVIDED 'AS IS', WITHOUT WARRANTY OF ANY KIND,138EXPRESS OR IMPLIED, INCLUDING BUT NOT LIMITED TO THE WARRANTIES OF139MERCHANTABILITY, FITNESS FOR A PARTICULAR PURPOSE AND NONINFRINGEMENT.140IN NO EVENT SHALL THE AUTHORS OR COPYRIGHT HOLDERS BE LIABLE FOR ANY141CLAIM, DAMAGES OR OTHER LIABILITY, WHETHER IN AN ACTION OF CONTRACT,142TORT OR OTHERWISE, ARISING FROM, OUT OF OR IN CONNECTION WITH THE143SOFTWARE OR THE USE OR OTHER DEALINGS IN THE SOFTWARE.