Skip to content

Instantly share code, notes, and snippets.

@wwdablu
Last active October 6, 2019 21:29
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 wwdablu/ad393b27dfee056456d28943cb7f117a to your computer and use it in GitHub Desktop.
Save wwdablu/ad393b27dfee056456d28943cb7f117a to your computer and use it in GitHub Desktop.
var express = require('express');
var port = process.env.PORT || 3000;
var app = express();
app.get('/', function (req, res) {
res.send(JSON.stringify({ identity: 'Mockpress'}));
});
app.listen(port, function () {
console.log('Mockpress is listning...');
});
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment