Skip to content

Commit

Permalink
Added hello-world example
Browse files Browse the repository at this point in the history
run with:
    connect -C examples/helloworld
  • Loading branch information
tj committed Jul 7, 2010
1 parent 3a21588 commit 843281d
Show file tree
Hide file tree
Showing 3 changed files with 14 additions and 0 deletions.
12 changes: 12 additions & 0 deletions examples/helloworld/app.js
Original file line number Diff line number Diff line change
@@ -0,0 +1,12 @@

/**
* Module dependencies.
*/

var express = require('./../../lib/express');

var app = module.exports = express.createServer();

app.get('/', function(req, res){
res.send('Hello World');
});
1 change: 1 addition & 0 deletions examples/helloworld/pids/connect.0.pid
Original file line number Diff line number Diff line change
@@ -0,0 +1 @@
760
1 change: 1 addition & 0 deletions examples/helloworld/pids/connect.1.pid
Original file line number Diff line number Diff line change
@@ -0,0 +1 @@
761

0 comments on commit 843281d

Please sign in to comment.