Readme.md
This file
Path
Readme.md
155 lines · 4.5 KiB · Markdown
Last changed by
docs: remove Gratipay linksDouglas Christopher Wilsonbefore adoption9dadca2
History of this fileTake it
The walk stopped after 200 commits: lines older than 6549469 point at it.
build: mocha@3.4.1Douglas Christopher Wilsonbefore adoption6549469
lines 1–11why, 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```jsdocs: use const in readme exampleMarcin Wanagobefore adoption6eda52a
lines 12–13why, one step back12const express = require('express')13const app = express()build: mocha@3.4.1Douglas Christopher Wilsonbefore adoption6549469
lines 14–23why, one step back1415app.get('/', function (req, res) {16 res.send('Hello World')17})1819app.listen(3000)20```2122## Installation23docs: add more information to installationDouglas Christopher Wilsonbefore adoption8d4ceb6
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):32build: mocha@3.4.1Douglas Christopher Wilsonbefore adoption6549469
lines 33–35why, one step back33```bash34$ npm install express35```docs: add more information to installationDouglas Christopher Wilsonbefore adoption8d4ceb6
lines 36–38why, one step back3637Follow [our installing guide](http://expressjs.com/en/starter/installing.html)38for more information.build: mocha@3.4.1Douglas Christopher Wilsonbefore adoption6549469
lines 39–53why, one step back3940## 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 & Community5152 * [Website and Documentation](http://expressjs.com/) - [[website repo](https://github.com/expressjs/expressjs.com)]53 * [#express](https://webchat.freenode.net/?channels=express) on freenode IRCdocs: fix GitHub capitalizationPiper Chesterbefore adoption43dff4c
line 54why, one step back54 * [GitHub Organization](https://github.com/expressjs) for Official Middleware & Modulesbuild: mocha@3.4.1Douglas Christopher Wilsonbefore adoption6549469
lines 55–92why, one step back55 * Visit the [Wiki](https://github.com/expressjs/express/wiki)56 * [Google Group](https://groups.google.com/group/express-js) for discussion57 * [Gitter](https://gitter.im/expressjs/express) for support and discussion5859**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).6061### Security Issues6263If you discover a security vulnerability in Express, please see [Security Policies and Procedures](Security.md).6465## 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```92docs: add listening address to exampleCiro Santillibefore adoption186a206
lines 93–94why, one step back93 View the website at: http://localhost:300094build: mocha@3.4.1Douglas Christopher Wilsonbefore adoption6549469
lines 95–129why, 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 over102 14 template engines via [Consolidate.js](https://github.com/tj/consolidate.js),103 you can quickly craft your perfect framework.104105## Examples106107 To view the examples, clone the Express repo and install the dependencies:108109```bash110$ git clone git://github.com/expressjs/express.git --depth 1111$ cd express112$ npm install113```114115 Then run whichever example you want:116117```bash118$ node examples/content-negotiation119```120121## Tests122123 To run the test suite, first install the dependencies, then run `npm test`:124125```bash126$ npm install127$ npm test128```129docs: add link to contributing guideJames Georgebefore adoptionb02d3a1
lines 130–133why, one step back130## Contributing131132[Contributing Guide](Contributing.md)133build: mocha@3.4.1Douglas Christopher Wilsonbefore adoption6549469
lines 134–135why, one step back134## People135docs: remove gratipay badgesDavid Wubefore adoption187d1f5
line 136why, one step back136The original author of Express is [TJ Holowaychuk](https://github.com/tj)build: mocha@3.4.1Douglas Christopher Wilsonbefore adoption6549469
line 137why, one step back137docs: remove gratipay badgesDavid Wubefore adoption187d1f5
line 138why, one step back138The current lead maintainer is [Douglas Christopher Wilson](https://github.com/dougwilson)build: mocha@3.4.1Douglas Christopher Wilsonbefore adoption6549469
lines 139–155why, one step back139140[List of all contributors](https://github.com/expressjs/express/graphs/contributors)141142## License143144 [MIT](LICENSE)145146[npm-image]: https://img.shields.io/npm/v/express.svg147[npm-url]: https://npmjs.org/package/express148[downloads-image]: https://img.shields.io/npm/dm/express.svg149[downloads-url]: https://npmjs.org/package/express150[travis-image]: https://img.shields.io/travis/expressjs/express/master.svg?label=linux151[travis-url]: https://travis-ci.org/expressjs/express152[appveyor-image]: https://img.shields.io/appveyor/ci/dougwilson/express/master.svg?label=windows153[appveyor-url]: https://ci.appveyor.com/project/dougwilson/express154[coveralls-image]: https://img.shields.io/coveralls/expressjs/express/master.svg155[coveralls-url]: https://coveralls.io/r/expressjs/express?branch=master