Readme.md
This file
Path
Readme.md
128 lines · 3.8 KiB · Markdown
Last changed by
Merge tag '3.15.0'Douglas Christopher Wilsonbefore adoptionf34944c
History of this fileTake it
The walk stopped after 200 commits: lines older than e367463 point at it.
docs: cleanup readme, update package descriptionFishrock123before adoptionbd69085
line 1why, one step back1[](https://expressjs.com/)4.0.0-rc4Roman Shtylmanbefore adoptione367463
line 2why, one step back2docs: fix nodejs.org linkRyan Seysbefore adoption4fe1073
line 3why, one step back3 Fast, unopinionated, minimalist web framework for [node](http://nodejs.org).4.0.0-rc4Roman Shtylmanbefore adoptione367463
line 4why, one step back4docs: cleanup readme, update package descriptionFishrock123before adoptionbd69085
line 5why, one step back5 [](https://badge.fury.io/js/express)docs: move badgesDouglas Christopher Wilsonbefore adoptionfcbe68e
lines 6–7why, one step back6 [](https://travis-ci.org/visionmedia/express)7 [](https://coveralls.io/r/visionmedia/express)Merge tag '3.15.0'Douglas Christopher Wilsonbefore adoptionf34944c
line 8why, one step back8 [](https://www.gittip.com/dougwilson/)4.0.0-rc4Roman Shtylmanbefore adoptione367463
lines 9–10why, one step back910```jsdocs: cleanup readme, update package descriptionFishrock123before adoptionbd69085
lines 11–12why, one step back11var express = require('express')12var app = express()4.0.0-rc4Roman Shtylmanbefore adoptione367463
line 13why, one step back13docs: cleanup readme, update package descriptionFishrock123before adoptionbd69085
lines 14–16why, one step back14app.get('/', function (req, res) {15 res.send('Hello World')16})4.0.0-rc4Roman Shtylmanbefore adoptione367463
line 17why, one step back17docs: cleanup readme, update package descriptionFishrock123before adoptionbd69085
line 18why, one step back18app.listen(3000)4.0.0-rc4Roman Shtylmanbefore adoptione367463
lines 19–20why, one step back19```20docs: cleanup readme, update package descriptionFishrock123before adoptionbd69085
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).4.0.0-rc4Roman Shtylmanbefore adoptione367463
line 22why, one step back22docs: cleanup readme, update package descriptionFishrock123before adoptionbd69085
line 23why, one step back23### Installation4.0.0-rc4Roman Shtylmanbefore adoptione367463
line 24why, one step back24docs: cleanup readme, update package descriptionFishrock123before adoptionbd69085
lines 25–27why, one step back25```bash26$ npm install express27```4.0.0-rc4Roman Shtylmanbefore adoptione367463
lines 28–30why, one step back2829## Quick Start30docs: cleanup readme, update package descriptionFishrock123before adoptionbd69085
line 31why, one step back31 The quickest way to get started with express is to utilize the executable [`express(1)`](https://github.com/expressjs/generator) to generate an application as shown below:4.0.0-rc4Roman Shtylmanbefore adoptione367463
line 32why, one step back32docs: cleanup readme, update package descriptionFishrock123before adoptionbd69085
line 33why, one step back33 Install the executable. The executable's major version will match Express's:4.0.0-rc4Roman Shtylmanbefore adoptione367463
line 34why, one step back34docs: cleanup readme, update package descriptionFishrock123before adoptionbd69085
lines 35–37why, one step back35```bash36$ npm install -g express-generator@437```4.0.0-rc4Roman Shtylmanbefore adoptione367463
line 38why, one step back38docs: cleanup readme, update package descriptionFishrock123before adoptionbd69085
line 39why, one step back39 Create the app:4.0.0-rc4Roman Shtylmanbefore adoptione367463
line 40why, one step back40docs: cleanup readme, update package descriptionFishrock123before adoptionbd69085
lines 41–43why, one step back41```bash42$ express /tmp/foo && cd /tmp/foo43```4.0.0-rc4Roman Shtylmanbefore adoptione367463
line 44why, one step back44docs: cleanup readme, update package descriptionFishrock123before adoptionbd69085
line 45why, one step back45 Install dependencies:4.0.0-rc4Roman Shtylmanbefore adoptione367463
line 46why, one step back46docs: cleanup readme, update package descriptionFishrock123before adoptionbd69085
lines 47–49why, one step back47```bash48$ npm install49```4.0.0-rc4Roman Shtylmanbefore adoptione367463
line 50why, one step back50docs: cleanup readme, update package descriptionFishrock123before adoptionbd69085
lines 51–56why, one step back51 Start the server:5253```bash54$ npm start55```564.0.0-rc4Roman Shtylmanbefore adoptione367463
lines 57–73why, one step back57## Features5859 * Robust routing60 * HTTP helpers (redirection, caching, etc)61 * View system supporting 14+ template engines62 * Content negotiation63 * Focus on high performance64 * Executable for generating applications quickly65 * High test coverage6667## Philosophy6869 The Express philosophy is to provide small, robust tooling for HTTP servers, making70 it a great solution for single page applications, web sites, hybrids, or public71 HTTP APIs.7273 Express does not force you to use any specific ORM or template engine. With support for overdocs: cleanup readme, update package descriptionFishrock123before adoptionbd69085
line 74why, one step back74 14 template engines via [Consolidate.js](https://github.com/visionmedia/consolidate.js),4.0.0-rc4Roman Shtylmanbefore adoptione367463
lines 75–78why, one step back75 you can quickly craft your perfect framework.7677## More Information78docs: cleanup readme, update package descriptionFishrock123before adoptionbd69085
lines 79–83why, one step back79 * [Website and Documentation](http://expressjs.com/) - [[website repo](https://github.com/visionmedia/expressjs.com)]80 * [Github Organization](https://github.com/expressjs) for Official Middleware & Modules81 * [#express](https://webchat.freenode.net/?channels=express) on freenode IRC82 * Visit the [Wiki](https://github.com/visionmedia/express/wiki)83 * [Google Group](https://groups.google.com/group/express-js) for discussion4.0.0-rc4Roman Shtylmanbefore adoptione367463
line 84why, one step back84 * [Русскоязычная документация](http://jsman.ru/express/)docs: add expressjs.kr(expressjs.com in Korean)Young Jae Simbefore adoption04f3830
line 85why, one step back85 * [한국어 문서](http://expressjs.kr) - [[website repo](https://github.com/Hanul/expressjs.kr)]4.0.0-rc4Roman Shtylmanbefore adoptione367463
lines 86–89why, one step back86 * Run express examples [online](https://runnable.com/express)8788## Viewing Examples89docs: cleanup readme, update package descriptionFishrock123before adoptionbd69085
line 90why, one step back90 Clone the Express repo, then install the dev dependencies to install all the example / test suite dependencies:4.0.0-rc4Roman Shtylmanbefore adoptione367463
line 91why, one step back91docs: cleanup readme, update package descriptionFishrock123before adoptionbd69085
lines 92–96why, one step back92```bash93$ git clone git://github.com/visionmedia/express.git --depth 194$ cd express95$ npm install96```4.0.0-rc4Roman Shtylmanbefore adoptione367463
line 97why, one step back97docs: cleanup readme, update package descriptionFishrock123before adoptionbd69085
line 98why, one step back98 Then run whichever example you want:4.0.0-rc4Roman Shtylmanbefore adoptione367463
lines 99–101why, one step back99100 $ node examples/content-negotiation101docs: cleanup readme, update package descriptionFishrock123before adoptionbd69085
line 102why, one step back102 You can also view live examples here:4.0.0-rc4Roman Shtylmanbefore adoptione367463
line 103why, one step back103docs: cleanup readme, update package descriptionFishrock123before adoptionbd69085
line 104why, one step back104 <a href="https://runnable.com/express" target="_blank"><img src="https://runnable.com/external/styles/assets/runnablebtn.png" style="width:67px;height:25px;"></a>4.0.0-rc4Roman Shtylmanbefore adoptione367463
lines 105–107why, one step back105106## Running Tests107docs: cleanup readme, update package descriptionFishrock123before adoptionbd69085
line 108why, one step back108 To run the test suite, first invoke the following command within the repo, installing the development dependencies:4.0.0-rc4Roman Shtylmanbefore adoptione367463
line 109why, one step back109docs: cleanup readme, update package descriptionFishrock123before adoptionbd69085
lines 110–112why, one step back110```bash111$ npm install112```4.0.0-rc4Roman Shtylmanbefore adoptione367463
line 113why, one step back113docs: cleanup readme, update package descriptionFishrock123before adoptionbd69085
line 114why, one step back114 Then run the tests:4.0.0-rc4Roman Shtylmanbefore adoptione367463
line 115why, one step back115docs: cleanup readme, update package descriptionFishrock123before adoptionbd69085
line 116why, one step back116```bashMerge tag '3.7.0'Douglas Christopher Wilsonbefore adoption097cd0c
lines 117–118why, one step back117$ npm test118```4.0.0-rc4Roman Shtylmanbefore adoptione367463
line 119why, one step back119docs: cleanup readme, update package descriptionFishrock123before adoptionbd69085
line 120why, one step back120### Contributors4.0.0-rc4Roman Shtylmanbefore adoptione367463
line 121why, one step back121docs: cleanup readme, update package descriptionFishrock123before adoptionbd69085
lines 122–124why, one step back122 * Author: [TJ Holowaychuk](https://github.com/visionmedia)123 * Lead Maintainer: [Douglas Christopher Wilson](https://github.com/dougwilson)124 * [All Contributors](https://github.com/visionmedia/express/graphs/contributors)4.0.0-rc4Roman Shtylmanbefore adoptione367463
line 125why, one step back125docs: cleanup readme, update package descriptionFishrock123before adoptionbd69085
lines 126–128why, one step back126### License127128 [MIT](LICENSE)