Skip to content
Myr

Readme.md

This file

Path

Readme.md

158 lines · 4.7 KiB · Markdown

Last changed by

build: use GitHub Actions instead of Travis CIDouglas Christopher Wilsonbefore adoptionca3c863

History of this file

Take it

The walk stopped after 200 commits: lines older than fa272ed point at it.

docs: fix typo in jsdoc commentHrvoje Šimićbefore adoptionfa272ed

lines 1–6why, 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]

build: use GitHub Actions instead of Travis CIDouglas Christopher Wilsonbefore adoptionca3c863

line 7why, one step back
7 [![Linux Build][ci-image]][ci-url]

docs: fix typo in jsdoc commentHrvoje Šimićbefore adoptionfa272ed

lines 8–11why, one step back
8 [![Windows Build][appveyor-image]][appveyor-url]
9 [![Test Coverage][coveralls-image]][coveralls-url]1011```js

docs: use const in readme exampleMarcin Wanagobefore adoption6eda52a

lines 12–13why, one step back
12const express = require('express')
13const app = express()

docs: fix typo in jsdoc commentHrvoje Šimićbefore adoptionfa272ed

lines 14–23why, one step back
14
15app.get('/', function (req, res) {16 res.send('Hello World')17})1819app.listen(3000)20```2122## Installation23

docs: add more information to installationDouglas Christopher Wilsonbefore adoption8d4ceb6

lines 24–29why, one step back
24This is a [Node.js](https://nodejs.org/en/) module available through the
25[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.29

docs: add npm init hint to install sectionyanokenkenbefore adoption4b4fa26

lines 30–32why, one step back
30If this is a brand new project, make sure to create a `package.json` first with
31the [`npm init` command](https://docs.npmjs.com/creating-a-package-json-file).32

docs: add more information to installationDouglas Christopher Wilsonbefore adoption8d4ceb6

lines 33–35why, one step back
33Installation is done using the
34[`npm install` command](https://docs.npmjs.com/getting-started/installing-npm-packages-locally):35

docs: fix typo in jsdoc commentHrvoje Šimićbefore adoptionfa272ed

lines 36–38why, one step back
36```bash
37$ npm install express38```

docs: add more information to installationDouglas Christopher Wilsonbefore adoption8d4ceb6

lines 39–41why, one step back
39
40Follow [our installing guide](http://expressjs.com/en/starter/installing.html)41for more information.

docs: fix typo in jsdoc commentHrvoje Šimićbefore adoptionfa272ed

lines 42–95why, one step back
42
43## Features4445 * Robust routing46 * Focus on high performance47 * Super-high test coverage48 * HTTP helpers (redirection, caching, etc)49 * View system supporting 14+ template engines50 * Content negotiation51 * Executable for generating applications quickly5253## Docs & Community5455 * [Website and Documentation](http://expressjs.com/) - [[website repo](https://github.com/expressjs/expressjs.com)]56 * [#express](https://webchat.freenode.net/?channels=express) on freenode IRC57 * [GitHub Organization](https://github.com/expressjs) for Official Middleware & Modules58 * Visit the [Wiki](https://github.com/expressjs/express/wiki)59 * [Google Group](https://groups.google.com/group/express-js) for discussion60 * [Gitter](https://gitter.im/expressjs/express) for support and discussion6162**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).6364### Security Issues6566If you discover a security vulnerability in Express, please see [Security Policies and Procedures](Security.md).6768## Quick Start6970 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:7172 Install the executable. The executable's major version will match Express's:7374```bash75$ npm install -g express-generator@476```7778 Create the app:7980```bash81$ express /tmp/foo && cd /tmp/foo82```8384 Install dependencies:8586```bash87$ npm install88```8990 Start the server:9192```bash93$ npm start94```95

docs: add listening address to exampleCiro Santillibefore adoption186a206

lines 96–97why, one step back
96 View the website at: http://localhost:3000
97

docs: fix typo in jsdoc commentHrvoje Šimićbefore adoptionfa272ed

lines 98–100why, one step back
98## Philosophy
99100 The Express philosophy is to provide small, robust tooling for HTTP servers, making

docs: update grammar in readmeH3RSKObefore adoption5089368

line 101why, one step back
101 it a great solution for single page applications, websites, hybrids, or public

docs: fix typo in jsdoc commentHrvoje Šimićbefore adoptionfa272ed

lines 102–132why, one step back
102 HTTP APIs.
103104 Express does not force you to use any specific ORM or template engine. With support for over105 14 template engines via [Consolidate.js](https://github.com/tj/consolidate.js),106 you can quickly craft your perfect framework.107108## Examples109110 To view the examples, clone the Express repo and install the dependencies:111112```bash113$ git clone git://github.com/expressjs/express.git --depth 1114$ cd express115$ npm install116```117118 Then run whichever example you want:119120```bash121$ node examples/content-negotiation122```123124## Tests125126 To run the test suite, first install the dependencies, then run `npm test`:127128```bash129$ npm install130$ npm test131```132

docs: add link to contributing guideJames Georgebefore adoptionb02d3a1

lines 133–136why, one step back
133## Contributing
134135[Contributing Guide](Contributing.md)136

docs: fix typo in jsdoc commentHrvoje Šimićbefore adoptionfa272ed

lines 137–138why, one step back
137## People
138

docs: remove gratipay badgesDavid Wubefore adoption187d1f5

line 139why, one step back
139The original author of Express is [TJ Holowaychuk](https://github.com/tj)

docs: fix typo in jsdoc commentHrvoje Šimićbefore adoptionfa272ed

line 140why, one step back
140

docs: remove gratipay badgesDavid Wubefore adoption187d1f5

line 141why, one step back
141The current lead maintainer is [Douglas Christopher Wilson](https://github.com/dougwilson)

docs: fix typo in jsdoc commentHrvoje Šimićbefore adoptionfa272ed

lines 142–148why, one step back
142
143[List of all contributors](https://github.com/expressjs/express/graphs/contributors)144145## License146147 [MIT](LICENSE)148

build: use GitHub Actions instead of Travis CIDouglas Christopher Wilsonbefore adoptionca3c863

lines 149–150why, one step back
149[ci-image]: https://img.shields.io/github/workflow/status/expressjs/express/ci/master.svg?label=linux
150[ci-url]: https://github.com/expressjs/express/actions?query=workflow%3Aci

docs: fix typo in jsdoc commentHrvoje Šimićbefore adoptionfa272ed

lines 151–153why, one step back
151[npm-image]: https://img.shields.io/npm/v/express.svg
152[npm-url]: https://npmjs.org/package/express153[downloads-image]: https://img.shields.io/npm/dm/express.svg

docs: point npm downloads badge to npm charts of expressChang Wangbefore adoption47c1d2a

line 154why, one step back
154[downloads-url]: https://npmcharts.com/compare/express?minimal=true

docs: fix typo in jsdoc commentHrvoje Šimićbefore adoptionfa272ed

lines 155–158why, one step back
155[appveyor-image]: https://img.shields.io/appveyor/ci/dougwilson/express/master.svg?label=windows
156[appveyor-url]: https://ci.appveyor.com/project/dougwilson/express157[coveralls-image]: https://img.shields.io/coveralls/expressjs/express/master.svg158[coveralls-url]: https://coveralls.io/r/expressjs/express?branch=master