app.js
This file
Path
examples/helloworld/app.js
12 lines · 198 bytes · JavaScript
Last changed by
Added hello-world exampleTj Holowaychukbefore adoption843281d
History of this fileFast, unopinionated, minimalist web framework for Node.js.
0 open asksLanded Decided by oscabriel
caed07dAdded exception exampleTj Holowaychuk ·
examples/helloworld/app.js
12 lines · 198 bytes · JavaScript
Added hello-world example · Tj Holowaychuk · before adoption · 843281d ·
History of this file12 lines · 198 bytes · JavaScript
Added hello-world example · Tj Holowaychuk · before adoption · 843281d ·
lines 1–12why, one step back12/**3 * Module dependencies.4 */56var express = require('./../../lib/express');78var app = module.exports = express.createServer();910app.get('/', function(req, res){11 res.send('Hello World');12});