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 fileTake 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 back1[](http://expressjs.com/)bump connect, mocha, and shouldJonathan Ongbefore adoption7c68822
lines 2–4why, one step back23 Fast, unopinionated, minimalist web framework for [node](http://nodejs.org).4docs: move badgesDouglas Christopher Wilsonbefore adoptionfcbe68e
lines 5–8why, one step back5 [](http://badge.fury.io/js/express)6 [](https://travis-ci.org/visionmedia/express)7 [](https://coveralls.io/r/visionmedia/express)8 [](https://www.gittip.com/visionmedia/)bump connect, mocha, and shouldJonathan Ongbefore adoption7c68822
lines 9–20why, one step back910```js11var express = require('express');12var app = express();1314app.get('/', function(req, res){15 res.send('Hello World');16});1718app.listen(3000);19```20update readme to v4 releaseRoman Shtylmanbefore adoptionb8dd60d
line 21why, one step back21**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 back22bump connect, mocha, and shouldJonathan Ongbefore adoption7c68822
lines 23–24why, one step back23## Installation24Update Readme.md for Express 4Jonathan Ongbefore adoptione3b60e8
line 25why, one step back25 $ npm install expressbump connect, mocha, and shouldJonathan Ongbefore adoption7c68822
lines 26–28why, one step back2627## Quick Start28Update Readme.mdJonathan Ongbefore adoption45500fb
line 29why, one step back29 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 back30 Update Readme.mdJonathan Ongbefore adoption8472eff
line 31why, one step back31 Install the executable. The executable's major version will match Express's:Update Readme.md for Express 4Jonathan Ongbefore adoptione3b60e8
line 32why, one step back32 Update Readme.mdJonathan Ongbefore adoption8472eff
line 33why, one step back33 $ npm install -g express-generator@3bump connect, mocha, and shouldJonathan Ongbefore adoption7c68822
lines 34–44why, one step back3435 Create the app:3637 $ express /tmp/foo && cd /tmp/foo3839 Install dependencies:4041 $ npm install4243 Start the server:44npm start to start the server!Jonathan Ongbefore adoptiona0e6bb5
line 45why, one step back45 $ npm startbump connect, mocha, and shouldJonathan Ongbefore adoption7c68822
lines 46–62why, one step back4647## 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.62Update Readme.md for Express 4Jonathan Ongbefore adoptione3b60e8
line 63why, one step back63 Express does not force you to use any specific ORM or template engine. With support for overbump connect, mocha, and shouldJonathan Ongbefore adoption7c68822
lines 64–71why, one step back64 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 discussionUpdate Readme.md for Express 4Jonathan Ongbefore adoptione3b60e8
line 72why, one step back72 * Follow [tjholowaychuk](http://twitter.com/tjholowaychuk) and [defunctzombie](https://twitter.com/defunctzombie) on twitter for updatesbump connect, mocha, and shouldJonathan Ongbefore adoption7c68822
lines 73–100why, one step back73 * 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:100Merge tag '3.7.0'Douglas Christopher Wilsonbefore adoption097cd0c
lines 101–103why, one step back101```sh102$ npm test103```bump connect, mocha, and shouldJonathan Ongbefore adoption7c68822
lines 104–105why, one step back104105## ContributorsReadme: add Roman as lead maintainerJonathan Ongbefore adoptionb9e9576
lines 106–109why, one step back106 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 back110111## License112remove license text from readmeRoman Shtylmanbefore adoption8e3d0a6
line 113why, one step back113MIT