Readme.md
This file
Path
Readme.md
141 lines · 4.4 KiB · Markdown
Last changed by
docs: fix the security issues heading formatJamie Bartonbefore adoptionaabf780
History of this fileTake it
The walk stopped after 200 commits: lines older than 2ac2509 point at it.
4.13.1Douglas Christopher Wilsonbefore adoption2ac2509
lines 1–39why, one step back1[](http://expressjs.com/)23 Fast, unopinionated, minimalist web framework for [node](http://nodejs.org).45 [![NPM Version][npm-image]][npm-url]6 [![NPM Downloads][downloads-image]][downloads-url]7 [![Linux Build][travis-image]][travis-url]8 [![Windows Build][appveyor-image]][appveyor-url]9 [![Test Coverage][coveralls-image]][coveralls-url]1011```js12var express = require('express')13var app = express()1415app.get('/', function (req, res) {16 res.send('Hello World')17})1819app.listen(3000)20```2122## Installation2324```bash25$ npm install express26```2728## Features2930 * Robust routing31 * Focus on high performance32 * Super-high test coverage33 * HTTP helpers (redirection, caching, etc)34 * View system supporting 14+ template engines35 * Content negotiation36 * Executable for generating applications quickly3738## Docs & Community39docs: update link to expressjs.com website repoDouglas Christopher Wilsonbefore adoption4420a7b
line 40why, one step back40 * [Website and Documentation](http://expressjs.com/) - [[website repo](https://github.com/expressjs/expressjs.com)]4.13.1Douglas Christopher Wilsonbefore adoption2ac2509
lines 41–42why, one step back41 * [#express](https://webchat.freenode.net/?channels=express) on freenode IRC42 * [Github Organization](https://github.com/expressjs) for Official Middleware & Modulesdocs: fix some links messed up from repository move commitDouglas Christopher Wilsonbefore adoption0513655
line 43why, one step back43 * Visit the [Wiki](https://github.com/expressjs/express/wiki)4.13.1Douglas Christopher Wilsonbefore adoption2ac2509
line 44why, one step back44 * [Google Group](https://groups.google.com/group/express-js) for discussionbuild: move repository to expressjsDouglas Christopher Wilsonbefore adoptione7a02f6
line 45why, one step back45 * [Gitter](https://gitter.im/expressjs/express) for support and discussiondocs: fix some links messed up from repository move commitDouglas Christopher Wilsonbefore adoption0513655
lines 46–47why, one step back4647**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).4.13.1Douglas Christopher Wilsonbefore adoption2ac2509
line 48why, one step back48docs: fix the security issues heading formatJamie Bartonbefore adoptionaabf780
line 49why, one step back49### Security IssuesAdd Security documentRand McKinneybefore adoption42b9442
line 50why, one step back50docs: fix link to Security.md in Readme.mdRand McKinneybefore adoption4416fb2
line 51why, one step back51If you discover a security vulnerability in Express, please see [Security Policies and Procedures](Security.md).Add Security documentRand McKinneybefore adoption42b9442
line 52why, one step back524.13.1Douglas Christopher Wilsonbefore adoption2ac2509
lines 53–95why, one step back53## Quick Start5455 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:5657 Install the executable. The executable's major version will match Express's:5859```bash60$ npm install -g express-generator@461```6263 Create the app:6465```bash66$ express /tmp/foo && cd /tmp/foo67```6869 Install dependencies:7071```bash72$ npm install73```7475 Start the server:7677```bash78$ npm start79```8081## Philosophy8283 The Express philosophy is to provide small, robust tooling for HTTP servers, making84 it a great solution for single page applications, web sites, hybrids, or public85 HTTP APIs.8687 Express does not force you to use any specific ORM or template engine. With support for over88 14 template engines via [Consolidate.js](https://github.com/tj/consolidate.js),89 you can quickly craft your perfect framework.9091## Examples9293 To view the examples, clone the Express repo and install the dependencies:9495```bashbuild: move repository to expressjsDouglas Christopher Wilsonbefore adoptione7a02f6
line 96why, one step back96$ git clone git://github.com/expressjs/express.git --depth 14.13.1Douglas Christopher Wilsonbefore adoption2ac2509
lines 97–121why, one step back97$ cd express98$ npm install99```100101 Then run whichever example you want:102103```bash104$ node examples/content-negotiation105```106107## Tests108109 To run the test suite, first install the dependencies, then run `npm test`:110111```bash112$ npm install113$ npm test114```115116## People117118The original author of Express is [TJ Holowaychuk](https://github.com/tj) [![TJ's Gratipay][gratipay-image-visionmedia]][gratipay-url-visionmedia]119120The current lead maintainer is [Douglas Christopher Wilson](https://github.com/dougwilson) [![Doug's Gratipay][gratipay-image-dougwilson]][gratipay-url-dougwilson]121build: move repository to expressjsDouglas Christopher Wilsonbefore adoptione7a02f6
line 122why, one step back122[List of all contributors](https://github.com/expressjs/express/graphs/contributors)4.13.1Douglas Christopher Wilsonbefore adoption2ac2509
lines 123–131why, one step back123124## License125126 [MIT](LICENSE)127128[npm-image]: https://img.shields.io/npm/v/express.svg129[npm-url]: https://npmjs.org/package/express130[downloads-image]: https://img.shields.io/npm/dm/express.svg131[downloads-url]: https://npmjs.org/package/expressbuild: move repository to expressjsDouglas Christopher Wilsonbefore adoptione7a02f6
lines 132–133why, one step back132[travis-image]: https://img.shields.io/travis/expressjs/express/master.svg?label=linux133[travis-url]: https://travis-ci.org/expressjs/express4.13.1Douglas Christopher Wilsonbefore adoption2ac2509
lines 134–135why, one step back134[appveyor-image]: https://img.shields.io/appveyor/ci/dougwilson/express/master.svg?label=windows135[appveyor-url]: https://ci.appveyor.com/project/dougwilson/expressbuild: move repository to expressjsDouglas Christopher Wilsonbefore adoptione7a02f6
lines 136–137why, one step back136[coveralls-image]: https://img.shields.io/coveralls/expressjs/express/master.svg137[coveralls-url]: https://coveralls.io/r/expressjs/express?branch=master4.13.1Douglas Christopher Wilsonbefore adoption2ac2509
lines 138–141why, one step back138[gratipay-image-visionmedia]: https://img.shields.io/gratipay/visionmedia.svg139[gratipay-url-visionmedia]: https://gratipay.com/visionmedia/140[gratipay-image-dougwilson]: https://img.shields.io/gratipay/dougwilson.svg141[gratipay-url-dougwilson]: https://gratipay.com/dougwilson/