Readme.md
This file
Path
Readme.md
113 lines · 3.7 KiB · Markdown
Last changed by
docs: move badgesDouglas Christopher Wilsonbefore adoptionfcbe68e
History of this fileTake it
The walk stopped after 200 commits: lines older than d5b11c7 point at it.
update readme to v4 releaseRoman Shtylmanbefore adoptionb8dd60d
line 1why, one step back1[](http://expressjs.com/)Merge pull request #1760 from jseip1679/masterJonathan Ongbefore adoptiond5b11c7
line 2why, one step back2docsTJ Holowaychukbefore adoption9cbcf23
lines 3–4why, one step back3 Fast, unopinionated, minimalist web framework for [node](http://nodejs.org).4docs: move badgesDouglas Christopher Wilsonbefore adoptionfcbe68e
lines 5–8why, one step back5 [](http://badge.fury.io/js/express)6 [](https://travis-ci.org/visionmedia/express)7 [](https://coveralls.io/r/visionmedia/express)8 [](https://www.gittip.com/visionmedia/)Merge pull request #1760 from jseip1679/masterJonathan Ongbefore adoptiond5b11c7
lines 9–20why, one step back910```js11var express = require('express');12var app = express();1314app.get('/', function(req, res){15 res.send('Hello World');16});1718app.listen(3000);19```20update readme to v4 releaseRoman Shtylmanbefore adoptionb8dd60d
line 21why, one step back21**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).Update Readme.md for Express 4Jonathan Ongbefore adoptione3b60e8
line 22why, one step back22Merge pull request #1760 from jseip1679/masterJonathan Ongbefore adoptiond5b11c7
lines 23–24why, one step back23## Installation24Update Readme.md for Express 4Jonathan Ongbefore adoptione3b60e8
line 25why, one step back25 $ npm install expressMerge pull request #1760 from jseip1679/masterJonathan Ongbefore adoptiond5b11c7
lines 26–28why, one step back2627## Quick Start28Update Readme.mdJonathan Ongbefore adoption45500fb
line 29why, one step back29 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:Update Readme.md for Express 4Jonathan Ongbefore adoptione3b60e8
line 30why, one step back30 Update Readme.mdJonathan Ongbefore adoption8472eff
line 31why, one step back31 Install the executable. The executable's major version will match Express's:Update Readme.md for Express 4Jonathan Ongbefore adoptione3b60e8
line 32why, one step back32 Update Readme.mdJonathan Ongbefore adoption8472eff
line 33why, one step back33 $ npm install -g express-generator@3Merge pull request #1760 from jseip1679/masterJonathan Ongbefore adoptiond5b11c7
lines 34–44why, one step back3435 Create the app:3637 $ express /tmp/foo && cd /tmp/foo3839 Install dependencies:4041 $ npm install4243 Start the server:44npm start to start the server!Jonathan Ongbefore adoptiona0e6bb5
line 45why, one step back45 $ npm startMerge pull request #1760 from jseip1679/masterJonathan Ongbefore adoptiond5b11c7
lines 46–58why, one step back4647## Features4849 * Robust routing50 * HTTP helpers (redirection, caching, etc)51 * View system supporting 14+ template engines52 * Content negotiation53 * Focus on high performance54 * Executable for generating applications quickly55 * High test coverage5657## Philosophy58Merge pull request #1836 from fluxusfrequency/patch-1Roman Shtylmanbefore adoption2939075
line 59why, one step back59 The Express philosophy is to provide small, robust tooling for HTTP servers, makingMerge pull request #1760 from jseip1679/masterJonathan Ongbefore adoptiond5b11c7
lines 60–62why, one step back60 it a great solution for single page applications, web sites, hybrids, or public61 HTTP APIs.62Update Readme.md for Express 4Jonathan Ongbefore adoptione3b60e8
line 63why, one step back63 Express does not force you to use any specific ORM or template engine. With support for overMerge pull request #1836 from fluxusfrequency/patch-1Roman Shtylmanbefore adoption2939075
line 64why, one step back64 14 template engines via [Consolidate.js](http://github.com/visionmedia/consolidate.js),Merge pull request #1760 from jseip1679/masterJonathan Ongbefore adoptiond5b11c7
lines 65–71why, one step back65 you can quickly craft your perfect framework.6667## More Information6869 * [Website and Documentation](http://expressjs.com/) stored at [visionmedia/expressjs.com](https://github.com/visionmedia/expressjs.com)70 * Join #express on freenode71 * [Google Group](http://groups.google.com/group/express-js) for discussionUpdate Readme.md for Express 4Jonathan Ongbefore adoptione3b60e8
line 72why, one step back72 * Follow [tjholowaychuk](http://twitter.com/tjholowaychuk) and [defunctzombie](https://twitter.com/defunctzombie) on twitter for updatesMerge pull request #1760 from jseip1679/masterJonathan Ongbefore adoptiond5b11c7
lines 73–78why, one step back73 * Visit the [Wiki](http://github.com/visionmedia/express/wiki)74 * [Русскоязычная документация](http://jsman.ru/express/)75 * Run express examples [online](https://runnable.com/express)7677## Viewing Examples78Merge pull request #1836 from fluxusfrequency/patch-1Roman Shtylmanbefore adoption2939075
line 79why, one step back79Clone the Express repo, then install the dev dependencies to install all the example / test suite dependencies:Merge pull request #1760 from jseip1679/masterJonathan Ongbefore adoptiond5b11c7
lines 80–84why, one step back8081 $ git clone git://github.com/visionmedia/express.git --depth 182 $ cd express83 $ npm install84Merge pull request #1836 from fluxusfrequency/patch-1Roman Shtylmanbefore adoption2939075
line 85why, one step back85Then run whichever tests you want:Merge pull request #1760 from jseip1679/masterJonathan Ongbefore adoptiond5b11c7
lines 86–87why, one step back8687 $ node examples/content-negotiationreplace old contributors info with github's contributorsJonathan Ongbefore adoptionbb157c0
line 88why, one step back88Merge pull request #1836 from fluxusfrequency/patch-1Roman Shtylmanbefore adoption2939075
line 89why, one step back89You can also view live examples here:Merge pull request #1776 from ykumar6/masterJonathan Ongbefore adoption4cf868b
lines 90–91why, one step back9091<a href="https://runnable.com/express" target="_blank"><img src="https://runnable.com/external/styles/assets/runnablebtn.png" style="width:67px;height:25px;"></a>Merge pull request #1760 from jseip1679/masterJonathan Ongbefore adoptiond5b11c7
lines 92–94why, one step back9293## Running Tests94Merge pull request #1836 from fluxusfrequency/patch-1Roman Shtylmanbefore adoption2939075
line 95why, one step back95To run the test suite, first invoke the following command within the repo, installing the development dependencies:Merge pull request #1760 from jseip1679/masterJonathan Ongbefore adoptiond5b11c7
lines 96–98why, one step back9697 $ npm install98Merge pull request #1836 from fluxusfrequency/patch-1Roman Shtylmanbefore adoption2939075
line 99why, one step back99Then run the tests:Merge pull request #1760 from jseip1679/masterJonathan Ongbefore adoptiond5b11c7
line 100why, one step back100Merge tag '3.7.0'Douglas Christopher Wilsonbefore adoption097cd0c
lines 101–103why, one step back101```sh102$ npm test103```Merge pull request #1760 from jseip1679/masterJonathan Ongbefore adoptiond5b11c7
lines 104–105why, one step back104105## ContributorsReadme: add Roman as lead maintainerJonathan Ongbefore adoptionb9e9576
lines 106–109why, one step back106 107 Author: [TJ Holowaychuk](http://github.com/visionmedia) 108 Lead Maintainer: [Roman Shtylman](https://github.com/defunctzombie) 109 Contributors: https://github.com/visionmedia/express/graphs/contributors Merge pull request #1760 from jseip1679/masterJonathan Ongbefore adoptiond5b11c7
lines 110–112why, one step back110111## License112remove license text from readmeRoman Shtylmanbefore adoption8e3d0a6
line 113why, one step back113MIT