Readme.md
This file
Path
Readme.md
141 lines · 4.4 KiB · Markdown
Last changed by
docs: fix GitHub capitalizationPiper Chesterbefore adoption43dff4c
History of this fileTake it
The walk stopped after 200 commits: lines older than dd2b897 point at it.
examples: comment the usage of process.nextTickMuhammad Saqibbefore adoptiondd2b897
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)]examples: comment the usage of process.nextTickMuhammad Saqibbefore adoptiondd2b897
line 41why, one step back41 * [#express](https://webchat.freenode.net/?channels=express) on freenode IRCdocs: fix GitHub capitalizationPiper Chesterbefore adoption43dff4c
line 42why, one step back42 * [GitHub Organization](https://github.com/expressjs) for Official Middleware & Modulesexamples: comment the usage of process.nextTickMuhammad Saqibbefore adoptiondd2b897
lines 43–48why, one step back43 * Visit the [Wiki](https://github.com/expressjs/express/wiki)44 * [Google Group](https://groups.google.com/group/express-js) for discussion45 * [Gitter](https://gitter.im/expressjs/express) for support and discussion4647**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).48docs: fix the security issues heading formatJamie Bartonbefore adoptionaabf780
line 49why, one step back49### Security Issuesexamples: comment the usage of process.nextTickMuhammad Saqibbefore adoptiondd2b897
lines 50–141why, one step back5051If you discover a security vulnerability in Express, please see [Security Policies and Procedures](Security.md).5253## 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```bash96$ git clone git://github.com/expressjs/express.git --depth 197$ 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]121122[List of all contributors](https://github.com/expressjs/express/graphs/contributors)123124## 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/express132[travis-image]: https://img.shields.io/travis/expressjs/express/master.svg?label=linux133[travis-url]: https://travis-ci.org/expressjs/express134[appveyor-image]: https://img.shields.io/appveyor/ci/dougwilson/express/master.svg?label=windows135[appveyor-url]: https://ci.appveyor.com/project/dougwilson/express136[coveralls-image]: https://img.shields.io/coveralls/expressjs/express/master.svg137[coveralls-url]: https://coveralls.io/r/expressjs/express?branch=master138[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/