Skip to content
Myr

simple.js

This file

Path

examples/simple.js

9 lines · 125 bytes · JavaScript

Last changed by

Added simple routervisionmediabefore adoption7936439

History of this file

Take it

Better examplesvisionmediabefore adoption44f1a5d

line 1why, one step back
1

Added example, extra info to Readmecsausdevbefore adoption9973bd7

lines 2–4why, one step back
2require.paths.unshift("./lib")
3require('express')4

Added simple routervisionmediabefore adoption7936439

lines 5–6why, one step back
5get('/hello', function() {
6 return 'Whats up!'

Better examplesvisionmediabefore adoption44f1a5d

line 7why, one step back
7})

Added example, extra info to Readmecsausdevbefore adoption9973bd7

line 8why, one step back
8

Added simple routervisionmediabefore adoption7936439

line 9why, one step back
9Express.server.run()