Skip to content
Myr

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 file

Take 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 back
1[![Express Logo](https://i.cloudup.com/zfY6lL7eFa-3000x3000.png)](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 & Community39

docs: update link to expressjs.com website repoDouglas Christopher Wilsonbefore adoption4420a7b

line 40why, one step back
40 * [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 back
41 * [#express](https://webchat.freenode.net/?channels=express) on freenode IRC
42 * [Github Organization](https://github.com/expressjs) for Official Middleware & Modules

docs: fix some links messed up from repository move commitDouglas Christopher Wilsonbefore adoption0513655

line 43why, one step back
43 * Visit the [Wiki](https://github.com/expressjs/express/wiki)

4.13.1Douglas Christopher Wilsonbefore adoption2ac2509

line 44why, one step back
44 * [Google Group](https://groups.google.com/group/express-js) for discussion

build: move repository to expressjsDouglas Christopher Wilsonbefore adoptione7a02f6

line 45why, one step back
45 * [Gitter](https://gitter.im/expressjs/express) for support and discussion

docs: fix some links messed up from repository move commitDouglas Christopher Wilsonbefore adoption0513655

lines 46–47why, one step back
46
47**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 back
48

docs: fix the security issues heading formatJamie Bartonbefore adoptionaabf780

line 49why, one step back
49### Security Issues

Add Security documentRand McKinneybefore adoption42b9442

line 50why, one step back
50

docs: fix link to Security.md in Readme.mdRand McKinneybefore adoption4416fb2

line 51why, one step back
51If you discover a security vulnerability in Express, please see [Security Policies and Procedures](Security.md).

Add Security documentRand McKinneybefore adoption42b9442

line 52why, one step back
52

4.13.1Douglas Christopher Wilsonbefore adoption2ac2509

lines 53–95why, one step back
53## Quick Start
5455 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```bash

build: move repository to expressjsDouglas Christopher Wilsonbefore adoptione7a02f6

line 96why, one step back
96$ git clone git://github.com/expressjs/express.git --depth 1

4.13.1Douglas Christopher Wilsonbefore adoption2ac2509

lines 97–121why, one step back
97$ cd express
98$ 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]121

build: move repository to expressjsDouglas Christopher Wilsonbefore adoptione7a02f6

line 122why, one step back
122[List of all contributors](https://github.com/expressjs/express/graphs/contributors)

4.13.1Douglas Christopher Wilsonbefore adoption2ac2509

lines 123–131why, one step back
123
124## 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/express

build: move repository to expressjsDouglas Christopher Wilsonbefore adoptione7a02f6

lines 132–133why, one step back
132[travis-image]: https://img.shields.io/travis/expressjs/express/master.svg?label=linux
133[travis-url]: https://travis-ci.org/expressjs/express

4.13.1Douglas Christopher Wilsonbefore adoption2ac2509

lines 134–135why, one step back
134[appveyor-image]: https://img.shields.io/appveyor/ci/dougwilson/express/master.svg?label=windows
135[appveyor-url]: https://ci.appveyor.com/project/dougwilson/express

build: move repository to expressjsDouglas Christopher Wilsonbefore adoptione7a02f6

lines 136–137why, one step back
136[coveralls-image]: https://img.shields.io/coveralls/expressjs/express/master.svg
137[coveralls-url]: https://coveralls.io/r/expressjs/express?branch=master

4.13.1Douglas Christopher Wilsonbefore adoption2ac2509

lines 138–141why, one step back
138[gratipay-image-visionmedia]: https://img.shields.io/gratipay/visionmedia.svg
139[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/