rc@73: [![express logo](https://i.cloudup.com/zfY6lL7eFa-3000x3000.png)](http://expressjs.com/) rc@73: rc@73: Fast, unopinionated, minimalist web framework for [node](http://nodejs.org). rc@73: rc@73: [![NPM version](https://badge.fury.io/js/express.svg)](http://badge.fury.io/js/express) rc@73: [![Build Status](https://travis-ci.org/visionmedia/express.svg?branch=master)](https://travis-ci.org/visionmedia/express) rc@73: [![Coverage Status](https://img.shields.io/coveralls/visionmedia/express.svg)](https://coveralls.io/r/visionmedia/express) rc@73: [![Gittip](http://img.shields.io/gittip/visionmedia.svg)](https://www.gittip.com/visionmedia/) rc@73: rc@73: ```js rc@73: var express = require('express'); rc@73: var app = express(); rc@73: rc@73: app.get('/', function(req, res){ rc@73: res.send('Hello World'); rc@73: }); rc@73: rc@73: app.listen(3000); rc@73: ``` rc@73: rc@73: **PROTIP** Be sure to read [Migrating from 3.x to 4.x](https://github.com/visionmedia/express/wiki/Migrating-from-3.x-to-4.x) as well as [New features in 4.x](https://github.com/visionmedia/express/wiki/New-features-in-4.x). rc@73: rc@73: ## Installation rc@73: rc@73: $ npm install express rc@73: rc@73: ## Quick Start rc@73: rc@73: The quickest way to get started with express is to utilize the executable [`express(1)`](http://github.com/expressjs/generator) to generate an application as shown below: rc@73: rc@73: Install the executable. The executable's major version will match Express's: rc@73: rc@73: $ npm install -g express-generator@3 rc@73: rc@73: Create the app: rc@73: rc@73: $ express /tmp/foo && cd /tmp/foo rc@73: rc@73: Install dependencies: rc@73: rc@73: $ npm install rc@73: rc@73: Start the server: rc@73: rc@73: $ npm start rc@73: rc@73: ## Features rc@73: rc@73: * Robust routing rc@73: * HTTP helpers (redirection, caching, etc) rc@73: * View system supporting 14+ template engines rc@73: * Content negotiation rc@73: * Focus on high performance rc@73: * Executable for generating applications quickly rc@73: * High test coverage rc@73: rc@73: ## Philosophy rc@73: rc@73: The Express philosophy is to provide small, robust tooling for HTTP servers, making rc@73: it a great solution for single page applications, web sites, hybrids, or public rc@73: HTTP APIs. rc@73: rc@73: Express does not force you to use any specific ORM or template engine. With support for over rc@73: 14 template engines via [Consolidate.js](http://github.com/visionmedia/consolidate.js), rc@73: you can quickly craft your perfect framework. rc@73: rc@73: ## More Information rc@73: rc@73: * [Website and Documentation](http://expressjs.com/) stored at [visionmedia/expressjs.com](https://github.com/visionmedia/expressjs.com) rc@73: * Join #express on freenode rc@73: * [Google Group](http://groups.google.com/group/express-js) for discussion rc@73: * Follow [tjholowaychuk](http://twitter.com/tjholowaychuk) and [defunctzombie](https://twitter.com/defunctzombie) on twitter for updates rc@73: * Visit the [Wiki](http://github.com/visionmedia/express/wiki) rc@73: * [Русскоязычная документация](http://jsman.ru/express/) rc@73: * Run express examples [online](https://runnable.com/express) rc@73: rc@73: ## Viewing Examples rc@73: rc@73: Clone the Express repo, then install the dev dependencies to install all the example / test suite dependencies: rc@73: rc@73: $ git clone git://github.com/visionmedia/express.git --depth 1 rc@73: $ cd express rc@73: $ npm install rc@73: rc@73: Then run whichever tests you want: rc@73: rc@73: $ node examples/content-negotiation rc@73: rc@73: You can also view live examples here: rc@73: rc@73: rc@73: rc@73: ## Running Tests rc@73: rc@73: To run the test suite, first invoke the following command within the repo, installing the development dependencies: rc@73: rc@73: $ npm install rc@73: rc@73: Then run the tests: rc@73: rc@73: ```sh rc@73: $ npm test rc@73: ``` rc@73: rc@73: ## Contributors rc@73: rc@73: Author: [TJ Holowaychuk](http://github.com/visionmedia) rc@73: Lead Maintainer: [Roman Shtylman](https://github.com/defunctzombie) rc@73: Contributors: https://github.com/visionmedia/express/graphs/contributors rc@73: rc@73: ## License rc@73: rc@73: MIT