Skip to content
Myr

Readme.md

This file

Path

Readme.md

131 lines · 4.5 KiB · Markdown

Last changed by

docs: update badgesDouglas Christopher Wilsonbefore adoption057898b

History of this file

Take it

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

3.15.1Douglas Christopher Wilsonbefore adoption9f4968a

lines 1–4why, one step back
1[![express logo](http://f.cl.ly/items/0V2S1n0K1i3y1c122g04/Screen%20Shot%202012-04-11%20at%209.59.42%20AM.png)](http://expressjs.com/)
23 Fast, unopinionated, minimalist web framework for [node](http://nodejs.org).4

docs: update badgesDouglas Christopher Wilsonbefore adoption057898b

lines 5–8why, one step back
5 [![NPM version](https://img.shields.io/npm/v/express.svg)](https://www.npmjs.org/package/express)
6 [![Build Status](https://img.shields.io/travis/strongloop/express/3.x.svg)](https://travis-ci.org/strongloop/express)7 [![Coverage Status](https://img.shields.io/coveralls/strongloop/express/3.x.svg)](https://coveralls.io/r/strongloop/express)8 [![Gratipay](https://img.shields.io/gratipay/dougwilson.svg)](https://gratipay.com/dougwilson/)

3.15.1Douglas Christopher Wilsonbefore adoption9f4968a

lines 9–67why, 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```2021## Installation2223 $ npm install -g express2425## Quick Start2627 The quickest way to get started with express is to utilize the executable `express(1)` to generate an application as shown below:2829 Create the app:3031 $ npm install -g express32 $ express /tmp/foo && cd /tmp/foo3334 Install dependencies:3536 $ npm install3738 Start the server:3940 $ node app4142## Features4344 * Built on [Connect](http://github.com/senchalabs/connect)45 * Robust routing46 * HTTP helpers (redirection, caching, etc)47 * View system supporting 14+ template engines48 * Content negotiation49 * Focus on high performance50 * Environment based configuration51 * Executable for generating applications quickly52 * High test coverage5354## Philosophy5556 The Express philosophy is to provide small, robust tooling for HTTP servers, making57 it a great solution for single page applications, web sites, hybrids, or public58 HTTP APIs.5960 Built on Connect, you can use _only_ what you need, and nothing more. Applications61 can be as big or as small as you like, even a single file. Express does62 not force you to use any specific ORM or template engine. With support for over63 14 template engines via [Consolidate.js](http://github.com/visionmedia/consolidate.js),64 you can quickly craft your perfect framework.6566## More Information67

build: move repositoryRaymond Fengbefore adoptiond7bef52

line 68why, one step back
68 * [Website and Documentation](http://expressjs.com/) stored at [strongloop/expressjs.com](https://github.com/strongloop/expressjs.com)

3.15.1Douglas Christopher Wilsonbefore adoption9f4968a

lines 69–71why, one step back
69 * Join #express on freenode
70 * [Google Group](http://groups.google.com/group/express-js) for discussion71 * Follow [tjholowaychuk](http://twitter.com/tjholowaychuk) on twitter for updates

build: move repositoryRaymond Fengbefore adoptiond7bef52

line 72why, one step back
72 * Visit the [Wiki](http://github.com/strongloop/express/wiki)

3.15.1Douglas Christopher Wilsonbefore adoption9f4968a

lines 73–79why, one step back
73 * [Русскоязычная документация](http://jsman.ru/express/)
74 * Run express examples [online](https://runnable.com/express)7576## Viewing Examples7778Clone the Express repo, then install the dev dependencies to install all the example / test suite dependencies:79

build: move repositoryRaymond Fengbefore adoptiond7bef52

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

3.15.1Douglas Christopher Wilsonbefore adoption9f4968a

lines 81–105why, one step back
81 $ cd express
82 $ npm install8384Then run whichever tests you want:8586 $ node examples/content-negotiation8788You can also view live examples here:8990<a href="https://runnable.com/express" target="_blank"><img src="https://runnable.com/external/styles/assets/runnablebtn.png" style="width:67px;height:25px;"></a>9192## Running Tests9394To run the test suite, first invoke the following command within the repo, installing the development dependencies:9596 $ npm install9798Then run the tests:99100```sh101$ npm test102```103104## Contributors105

build: move repositoryRaymond Fengbefore adoptiond7bef52

line 106why, one step back
106 https://github.com/strongloop/express/graphs/contributors

3.15.1Douglas Christopher Wilsonbefore adoption9f4968a

lines 107–131why, one step back
107
108## License109110(The MIT License)111112Copyright (c) 2009-2012 TJ Holowaychuk &lt;tj@vision-media.ca&gt;113114Permission is hereby granted, free of charge, to any person obtaining115a copy of this software and associated documentation files (the116'Software'), to deal in the Software without restriction, including117without limitation the rights to use, copy, modify, merge, publish,118distribute, sublicense, and/or sell copies of the Software, and to119permit persons to whom the Software is furnished to do so, subject to120the following conditions:121122The above copyright notice and this permission notice shall be123included in all copies or substantial portions of the Software.124125THE SOFTWARE IS PROVIDED 'AS IS', WITHOUT WARRANTY OF ANY KIND,126EXPRESS OR IMPLIED, INCLUDING BUT NOT LIMITED TO THE WARRANTIES OF127MERCHANTABILITY, FITNESS FOR A PARTICULAR PURPOSE AND NONINFRINGEMENT.128IN NO EVENT SHALL THE AUTHORS OR COPYRIGHT HOLDERS BE LIABLE FOR ANY129CLAIM, DAMAGES OR OTHER LIABILITY, WHETHER IN AN ACTION OF CONTRACT,130TORT OR OTHERWISE, ARISING FROM, OUT OF OR IN CONNECTION WITH THE131SOFTWARE OR THE USE OR OTHER DEALINGS IN THE SOFTWARE.