Readme.md
This file
Path
Readme.md
155 lines · 4.5 KiB · Markdown
Last changed by
Merge tag '4.17.1'Douglas Christopher Wilsonbefore adoption121fe99
History of this fileTake it
The walk stopped after 200 commits: lines older than c6e6203 point at it.
docs: fix logo linkDouglas Christopher Wilsonbefore adoption3de4e42
line 1why, one step back1[](http://expressjs.com/)perf: fix arguments reassign deopt in some res methodsDouglas Christopher Wilsonbefore adoptionc6e6203
lines 2–4why, one step back23 Fast, unopinionated, minimalist web framework for [node](http://nodejs.org).4docs: misc. tweaksFishrock123before adoption5f7a37e
lines 5–6why, one step back5 [![NPM Version][npm-image]][npm-url]6 [![NPM Downloads][downloads-image]][downloads-url]Merge tag '4.12.0'Douglas Christopher Wilsonbefore adoptionf6ec710
lines 7–8why, one step back7 [![Linux Build][travis-image]][travis-url]8 [![Windows Build][appveyor-image]][appveyor-url]docs: misc. tweaksFishrock123before adoption5f7a37e
line 9why, one step back9 [![Test Coverage][coveralls-image]][coveralls-url]perf: fix arguments reassign deopt in some res methodsDouglas Christopher Wilsonbefore adoptionc6e6203
lines 10–11why, one step back1011```jsMerge tag '4.17.1'Douglas Christopher Wilsonbefore adoption121fe99
lines 12–13why, one step back12const express = require('express')13const app = express()perf: fix arguments reassign deopt in some res methodsDouglas Christopher Wilsonbefore adoptionc6e6203
lines 14–21why, one step back1415app.get('/', function (req, res) {16 res.send('Hello World')17})1819app.listen(3000)20```21Merge tag '4.11.1'Douglas Christopher Wilsonbefore adoption8a5ecd3
line 22why, one step back22## Installationperf: fix arguments reassign deopt in some res methodsDouglas Christopher Wilsonbefore adoptionc6e6203
line 23why, one step back23Merge tag '4.16.2'Douglas Christopher Wilsonbefore adoption62e12fe
lines 24–32why, one step back24This is a [Node.js](https://nodejs.org/en/) module available through the25[npm registry](https://www.npmjs.com/).2627Before installing, [download and install Node.js](https://nodejs.org/en/download/).28Node.js 0.10 or higher is required.2930Installation is done using the31[`npm install` command](https://docs.npmjs.com/getting-started/installing-npm-packages-locally):32perf: fix arguments reassign deopt in some res methodsDouglas Christopher Wilsonbefore adoptionc6e6203
lines 33–35why, one step back33```bash34$ npm install express35```Merge tag '4.16.2'Douglas Christopher Wilsonbefore adoption62e12fe
lines 36–38why, one step back3637Follow [our installing guide](http://expressjs.com/en/starter/installing.html)38for more information.perf: fix arguments reassign deopt in some res methodsDouglas Christopher Wilsonbefore adoptionc6e6203
line 39why, one step back39docs: misc. tweaksFishrock123before adoption5f7a37e
lines 40–51why, one step back40## Features4142 * Robust routing43 * Focus on high performance44 * Super-high test coverage45 * HTTP helpers (redirection, caching, etc)46 * View system supporting 14+ template engines47 * Content negotiation48 * Executable for generating applications quickly4950## Docs & Community51Merge tag '4.15.0'Douglas Christopher Wilsonbefore adoption501e24e
line 52why, one step back52 * [Website and Documentation](http://expressjs.com/) - [[website repo](https://github.com/expressjs/expressjs.com)]docs: misc. tweaksFishrock123before adoption5f7a37e
line 53why, one step back53 * [#express](https://webchat.freenode.net/?channels=express) on freenode IRCMerge tag '4.15.4'Douglas Christopher Wilsonbefore adoptionc319fe2
line 54why, one step back54 * [GitHub Organization](https://github.com/expressjs) for Official Middleware & ModulesMerge tag '4.14.0'Douglas Christopher Wilsonbefore adoption1dbfee6
line 55why, one step back55 * Visit the [Wiki](https://github.com/expressjs/express/wiki)docs: misc. tweaksFishrock123before adoption5f7a37e
line 56why, one step back56 * [Google Group](https://groups.google.com/group/express-js) for discussionMerge tag '4.13.4'Douglas Christopher Wilsonbefore adoption7cafdb5
line 57why, one step back57 * [Gitter](https://gitter.im/expressjs/express) for support and discussionMerge tag '4.14.0'Douglas Christopher Wilsonbefore adoption1dbfee6
lines 58–59why, one step back5859**PROTIP** Be sure to read [Migrating from 3.x to 4.x](https://github.com/expressjs/express/wiki/Migrating-from-3.x-to-4.x) as well as [New features in 4.x](https://github.com/expressjs/express/wiki/New-features-in-4.x).docs: misc. tweaksFishrock123before adoption5f7a37e
line 60why, one step back60Merge tag '4.15.4'Douglas Christopher Wilsonbefore adoptionc319fe2
line 61why, one step back61### Security Issuesdocs: misc. tweaksFishrock123before adoption5f7a37e
line 62why, one step back62Merge tag '4.13.4'Douglas Christopher Wilsonbefore adoption7cafdb5
lines 63–64why, one step back63If you discover a security vulnerability in Express, please see [Security Policies and Procedures](Security.md).64perf: fix arguments reassign deopt in some res methodsDouglas Christopher Wilsonbefore adoptionc6e6203
lines 65–92why, one step back65## Quick Start6667 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:6869 Install the executable. The executable's major version will match Express's:7071```bash72$ npm install -g express-generator@473```7475 Create the app:7677```bash78$ express /tmp/foo && cd /tmp/foo79```8081 Install dependencies:8283```bash84$ npm install85```8687 Start the server:8889```bash90$ npm start91```92Merge tag '4.17.1'Douglas Christopher Wilsonbefore adoption121fe99
lines 93–94why, one step back93 View the website at: http://localhost:300094perf: fix arguments reassign deopt in some res methodsDouglas Christopher Wilsonbefore adoptionc6e6203
lines 95–101why, one step back95## Philosophy9697 The Express philosophy is to provide small, robust tooling for HTTP servers, making98 it a great solution for single page applications, web sites, hybrids, or public99 HTTP APIs.100101 Express does not force you to use any specific ORM or template engine. With support for overdocs: visionmedia is now tj on GithubDouglas Christopher Wilsonbefore adoptione9539fc
line 102why, one step back102 14 template engines via [Consolidate.js](https://github.com/tj/consolidate.js),perf: fix arguments reassign deopt in some res methodsDouglas Christopher Wilsonbefore adoptionc6e6203
lines 103–104why, one step back103 you can quickly craft your perfect framework.104docs: misc. tweaksFishrock123before adoption5f7a37e
line 105why, one step back105## Examplesperf: fix arguments reassign deopt in some res methodsDouglas Christopher Wilsonbefore adoptionc6e6203
line 106why, one step back106Merge tag '4.12.4'Douglas Christopher Wilsonbefore adoptionf90e045
line 107why, one step back107 To view the examples, clone the Express repo and install the dependencies:perf: fix arguments reassign deopt in some res methodsDouglas Christopher Wilsonbefore adoptionc6e6203
lines 108–109why, one step back108109```bashMerge tag '4.13.4'Douglas Christopher Wilsonbefore adoption7cafdb5
line 110why, one step back110$ git clone git://github.com/expressjs/express.git --depth 1perf: fix arguments reassign deopt in some res methodsDouglas Christopher Wilsonbefore adoptionc6e6203
lines 111–116why, one step back111$ cd express112$ npm install113```114115 Then run whichever example you want:116docs: misc. tweaksFishrock123before adoption5f7a37e
lines 117–119why, one step back117```bash118$ node examples/content-negotiation119```perf: fix arguments reassign deopt in some res methodsDouglas Christopher Wilsonbefore adoptionc6e6203
line 120why, one step back120docs: misc. tweaksFishrock123before adoption5f7a37e
line 121why, one step back121## Testsperf: fix arguments reassign deopt in some res methodsDouglas Christopher Wilsonbefore adoptionc6e6203
line 122why, one step back122Merge tag '4.12.4'Douglas Christopher Wilsonbefore adoptionf90e045
line 123why, one step back123 To run the test suite, first install the dependencies, then run `npm test`:perf: fix arguments reassign deopt in some res methodsDouglas Christopher Wilsonbefore adoptionc6e6203
lines 124–126why, one step back124125```bash126$ npm installdocs: misc. tweaksFishrock123before adoption5f7a37e
line 127why, one step back127$ npm testperf: fix arguments reassign deopt in some res methodsDouglas Christopher Wilsonbefore adoptionc6e6203
lines 128–129why, one step back128```129Merge tag '4.17.1'Douglas Christopher Wilsonbefore adoption121fe99
lines 130–133why, one step back130## Contributing131132[Contributing Guide](Contributing.md)133Merge tag '4.11.1'Douglas Christopher Wilsonbefore adoption8a5ecd3
line 134why, one step back134## Peopleperf: fix arguments reassign deopt in some res methodsDouglas Christopher Wilsonbefore adoptionc6e6203
line 135why, one step back135Merge tag '4.16.4'Douglas Christopher Wilsonbefore adoption302a615
line 136why, one step back136The original author of Express is [TJ Holowaychuk](https://github.com/tj)perf: fix arguments reassign deopt in some res methodsDouglas Christopher Wilsonbefore adoptionc6e6203
line 137why, one step back137Merge tag '4.16.4'Douglas Christopher Wilsonbefore adoption302a615
line 138why, one step back138The current lead maintainer is [Douglas Christopher Wilson](https://github.com/dougwilson)perf: fix arguments reassign deopt in some res methodsDouglas Christopher Wilsonbefore adoptionc6e6203
line 139why, one step back139Merge tag '4.13.4'Douglas Christopher Wilsonbefore adoption7cafdb5
line 140why, one step back140[List of all contributors](https://github.com/expressjs/express/graphs/contributors)perf: fix arguments reassign deopt in some res methodsDouglas Christopher Wilsonbefore adoptionc6e6203
line 141why, one step back141Merge tag '4.11.1'Douglas Christopher Wilsonbefore adoption8a5ecd3
line 142why, one step back142## Licenseperf: fix arguments reassign deopt in some res methodsDouglas Christopher Wilsonbefore adoptionc6e6203
lines 143–144why, one step back143144 [MIT](LICENSE)docs: misc. tweaksFishrock123before adoption5f7a37e
line 145why, one step back145Merge tag '4.12.0'Douglas Christopher Wilsonbefore adoptionf6ec710
line 146why, one step back146[npm-image]: https://img.shields.io/npm/v/express.svgdocs: misc. tweaksFishrock123before adoption5f7a37e
line 147why, one step back147[npm-url]: https://npmjs.org/package/expressMerge tag '4.12.0'Douglas Christopher Wilsonbefore adoptionf6ec710
line 148why, one step back148[downloads-image]: https://img.shields.io/npm/dm/express.svgdocs: misc. tweaksFishrock123before adoption5f7a37e
line 149why, one step back149[downloads-url]: https://npmjs.org/package/expressMerge tag '4.13.4'Douglas Christopher Wilsonbefore adoption7cafdb5
lines 150–151why, one step back150[travis-image]: https://img.shields.io/travis/expressjs/express/master.svg?label=linux151[travis-url]: https://travis-ci.org/expressjs/expressMerge tag '4.12.0'Douglas Christopher Wilsonbefore adoptionf6ec710
lines 152–153why, one step back152[appveyor-image]: https://img.shields.io/appveyor/ci/dougwilson/express/master.svg?label=windows153[appveyor-url]: https://ci.appveyor.com/project/dougwilson/expressMerge tag '4.13.4'Douglas Christopher Wilsonbefore adoption7cafdb5
lines 154–155why, one step back154[coveralls-image]: https://img.shields.io/coveralls/expressjs/express/master.svg155[coveralls-url]: https://coveralls.io/r/expressjs/express?branch=master