Skip to content

Instantly share code, notes, and snippets.

@tanyagupta
Last active December 4, 2016 20:53
Show Gist options
  • Star 0 You must be signed in to star a gist
  • Fork 0 You must be signed in to fork a gist
  • Save tanyagupta/87bc01b561df839a275456c2183b1f68 to your computer and use it in GitHub Desktop.
Save tanyagupta/87bc01b561df839a275456c2183b1f68 to your computer and use it in GitHub Desktop.
Node.js web app using Express in Cloud9
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