Skip to content

Instantly share code, notes, and snippets.

@maximgatilin
Last active February 19, 2017 16:12
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 maximgatilin/c1cf2c3c5473503b3aea86862283572d to your computer and use it in GitHub Desktop.
Save maximgatilin/c1cf2c3c5473503b3aea86862283572d to your computer and use it in GitHub Desktop.
Express Simple Server #tags:express
'use strict';
var express = require('express');
var app = express();
app.get('/', function(req, res) {
res.send("<h1>I love Treehouse!</h1>");
});
app.listen(3000, function() {
console.log("The frontend server is running on port 3000!");
});
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment