Readme.md
This file
Path
Readme.md
127 lines · 3.7 KiB · Markdown
Last changed by
docs: cleanup readme, update package descriptionFishrock123before adoptionbd69085
History of this fileTake it
The walk stopped after 200 commits: lines older than 185b526 point at it.
docs: cleanup readme, update package descriptionFishrock123before adoptionbd69085
line 1why, one step back1[](https://expressjs.com/)Merge pull request #1892 from matheusazzi/patch-1Jonathan Ongbefore adoption185b526
line 2why, one step back2docs: cleanup readme, update package descriptionFishrock123before adoptionbd69085
line 3why, one step back3 Fast, unopinionated, minimalist web framework for [node](https://nodejs.org).Merge pull request #1892 from matheusazzi/patch-1Jonathan Ongbefore adoption185b526
line 4why, one step back4docs: cleanup readme, update package descriptionFishrock123before adoptionbd69085
line 5why, one step back5 [](https://badge.fury.io/js/express)docs: move badgesDouglas Christopher Wilsonbefore adoptionfcbe68e
lines 6–7why, one step back6 [](https://travis-ci.org/visionmedia/express)7 [](https://coveralls.io/r/visionmedia/express)docs: cleanup readme, update package descriptionFishrock123before adoptionbd69085
line 8why, one step back8 [](https://www.gittip.com/visionmedia/)Merge pull request #1892 from matheusazzi/patch-1Jonathan Ongbefore adoption185b526
lines 9–10why, one step back910```jsdocs: cleanup readme, update package descriptionFishrock123before adoptionbd69085
lines 11–12why, one step back11var express = require('express')12var app = express()Merge pull request #1892 from matheusazzi/patch-1Jonathan Ongbefore adoption185b526
line 13why, one step back13docs: cleanup readme, update package descriptionFishrock123before adoptionbd69085
lines 14–16why, one step back14app.get('/', function (req, res) {15 res.send('Hello World')16})Merge pull request #1892 from matheusazzi/patch-1Jonathan Ongbefore adoption185b526
line 17why, one step back17docs: cleanup readme, update package descriptionFishrock123before adoptionbd69085
line 18why, one step back18app.listen(3000)Merge pull request #1892 from matheusazzi/patch-1Jonathan Ongbefore adoption185b526
lines 19–20why, one step back19```20docs: cleanup readme, update package descriptionFishrock123before adoptionbd69085
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 back22docs: cleanup readme, update package descriptionFishrock123before adoptionbd69085
line 23why, one step back23### InstallationMerge pull request #1892 from matheusazzi/patch-1Jonathan Ongbefore adoption185b526
line 24why, one step back24docs: cleanup readme, update package descriptionFishrock123before adoptionbd69085
lines 25–27why, one step back25```bash26$ npm install express27```Merge pull request #1892 from matheusazzi/patch-1Jonathan Ongbefore adoption185b526
lines 28–30why, one step back2829## Quick Start30docs: cleanup readme, update package descriptionFishrock123before adoptionbd69085
line 31why, one step back31 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:Merge pull request #1892 from matheusazzi/patch-1Jonathan Ongbefore adoption185b526
line 32why, one step back32docs: cleanup readme, update package descriptionFishrock123before adoptionbd69085
line 33why, one step back33 Install the executable. The executable's major version will match Express's:Merge pull request #1892 from matheusazzi/patch-1Jonathan Ongbefore adoption185b526
line 34why, one step back34docs: cleanup readme, update package descriptionFishrock123before adoptionbd69085
lines 35–37why, one step back35```bash36$ npm install -g express-generator@437```Merge pull request #1892 from matheusazzi/patch-1Jonathan Ongbefore adoption185b526
line 38why, one step back38docs: cleanup readme, update package descriptionFishrock123before adoptionbd69085
line 39why, one step back39 Create the app:Merge pull request #1892 from matheusazzi/patch-1Jonathan Ongbefore adoption185b526
line 40why, one step back40docs: cleanup readme, update package descriptionFishrock123before adoptionbd69085
lines 41–43why, one step back41```bash42$ express /tmp/foo && cd /tmp/foo43```Merge pull request #1892 from matheusazzi/patch-1Jonathan Ongbefore adoption185b526
line 44why, one step back44docs: cleanup readme, update package descriptionFishrock123before adoptionbd69085
line 45why, one step back45 Install dependencies:Merge pull request #1892 from matheusazzi/patch-1Jonathan Ongbefore adoption185b526
line 46why, one step back46docs: cleanup readme, update package descriptionFishrock123before adoptionbd69085
lines 47–49why, one step back47```bash48$ npm install49```Merge pull request #1892 from matheusazzi/patch-1Jonathan Ongbefore adoption185b526
line 50why, one step back50docs: cleanup readme, update package descriptionFishrock123before adoptionbd69085
lines 51–56why, one step back51 Start the server:5253```bash54$ npm start55```56Merge pull request #1892 from matheusazzi/patch-1Jonathan Ongbefore adoption185b526
lines 57–72why, one step back57## Features5859 * Robust routing60 * HTTP helpers (redirection, caching, etc)61 * View system supporting 14+ template engines62 * Content negotiation63 * Focus on high performance64 * Executable for generating applications quickly65 * High test coverage6667## Philosophy6869 The Express philosophy is to provide small, robust tooling for HTTP servers, making70 it a great solution for single page applications, web sites, hybrids, or public71 HTTP APIs.72Update Readme.md for Express 4Jonathan Ongbefore adoptione3b60e8
line 73why, one step back73 Express does not force you to use any specific ORM or template engine. With support for overdocs: cleanup readme, update package descriptionFishrock123before adoptionbd69085
line 74why, one step back74 14 template engines via [Consolidate.js](https://github.com/visionmedia/consolidate.js),Merge pull request #1892 from matheusazzi/patch-1Jonathan Ongbefore adoption185b526
lines 75–78why, one step back75 you can quickly craft your perfect framework.7677## More Information78docs: cleanup readme, update package descriptionFishrock123before adoptionbd69085
lines 79–83why, one step back79 * [Website and Documentation](http://expressjs.com/) - [[website repo](https://github.com/visionmedia/expressjs.com)]80 * [Github Organization](https://github.com/expressjs) for Official Middleware & Modules81 * [#express](https://webchat.freenode.net/?channels=express) on freenode IRC82 * Visit the [Wiki](https://github.com/visionmedia/express/wiki)83 * [Google Group](https://groups.google.com/group/express-js) for discussionMerge pull request #1892 from matheusazzi/patch-1Jonathan Ongbefore adoption185b526
lines 84–88why, one step back84 * [Русскоязычная документация](http://jsman.ru/express/)85 * Run express examples [online](https://runnable.com/express)8687## Viewing Examples88docs: cleanup readme, update package descriptionFishrock123before adoptionbd69085
line 89why, one step back89 Clone the Express repo, then install the dev dependencies to install all the example / test suite dependencies:Merge pull request #1892 from matheusazzi/patch-1Jonathan Ongbefore adoption185b526
line 90why, one step back90docs: cleanup readme, update package descriptionFishrock123before adoptionbd69085
lines 91–95why, one step back91```bash92$ git clone git://github.com/visionmedia/express.git --depth 193$ cd express94$ npm install95```Merge pull request #1892 from matheusazzi/patch-1Jonathan Ongbefore adoption185b526
line 96why, one step back96docs: cleanup readme, update package descriptionFishrock123before adoptionbd69085
line 97why, one step back97 Then run whichever example you want:Merge pull request #1892 from matheusazzi/patch-1Jonathan Ongbefore adoption185b526
lines 98–100why, one step back9899 $ node examples/content-negotiation100docs: cleanup readme, update package descriptionFishrock123before adoptionbd69085
line 101why, one step back101 You can also view live examples here:Merge pull request #1892 from matheusazzi/patch-1Jonathan Ongbefore adoption185b526
line 102why, one step back102docs: cleanup readme, update package descriptionFishrock123before adoptionbd69085
line 103why, one step back103 <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 #1892 from matheusazzi/patch-1Jonathan Ongbefore adoption185b526
lines 104–106why, one step back104105## Running Tests106docs: cleanup readme, update package descriptionFishrock123before adoptionbd69085
line 107why, one step back107 To run the test suite, first invoke the following command within the repo, installing the development dependencies:Merge pull request #1892 from matheusazzi/patch-1Jonathan Ongbefore adoption185b526
line 108why, one step back108docs: cleanup readme, update package descriptionFishrock123before adoptionbd69085
lines 109–111why, one step back109```bash110$ npm install111```Merge pull request #1892 from matheusazzi/patch-1Jonathan Ongbefore adoption185b526
line 112why, one step back112docs: cleanup readme, update package descriptionFishrock123before adoptionbd69085
line 113why, one step back113 Then run the tests:Merge pull request #1892 from matheusazzi/patch-1Jonathan Ongbefore adoption185b526
line 114why, one step back114docs: cleanup readme, update package descriptionFishrock123before adoptionbd69085
line 115why, one step back115```bashMerge tag '3.7.0'Douglas Christopher Wilsonbefore adoption097cd0c
lines 116–117why, one step back116$ npm test117```Merge pull request #1892 from matheusazzi/patch-1Jonathan Ongbefore adoption185b526
line 118why, one step back118docs: cleanup readme, update package descriptionFishrock123before adoptionbd69085
line 119why, one step back119### ContributorsMerge pull request #1892 from matheusazzi/patch-1Jonathan Ongbefore adoption185b526
line 120why, one step back120docs: cleanup readme, update package descriptionFishrock123before adoptionbd69085
lines 121–123why, one step back121 * Author: [TJ Holowaychuk](https://github.com/visionmedia)122 * Lead Maintainer: [Douglas Christopher Wilson](https://github.com/dougwilson)123 * [All Contributors](https://github.com/visionmedia/express/graphs/contributors)Merge pull request #1892 from matheusazzi/patch-1Jonathan Ongbefore adoption185b526
line 124why, one step back124docs: cleanup readme, update package descriptionFishrock123before adoptionbd69085
lines 125–127why, one step back125### License126127 [MIT](LICENSE)