Created
June 12, 2016 13:44
-
-
Save wilsonmar/2cd0c20dd8e208d2ddced65f3408b35f to your computer and use it in GitHub Desktop.
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
var express = require('express'); | |
var app = express(); | |
app.get('/', function(res,req){ | |
res.json({ | |
message: 'hello world' | |
}); | |
}); | |
app.listen(3000); // This establishes port 3000. You can use another port. |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment