Last active
December 4, 2016 20:53
-
-
Save tanyagupta/87bc01b561df839a275456c2183b1f68 to your computer and use it in GitHub Desktop.
Node.js web app using Express in Cloud9
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 (req, res) { | |
res.send("<h1>hello world</h1>"); | |
}); | |
app.listen(8080, function () { | |
console.log('Example app listening on port 8080!'); | |
//call this app from https://<workspace name>-<user name>.c9users.io | |
}); |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment