Last active
October 6, 2019 21:29
-
-
Save wwdablu/ad393b27dfee056456d28943cb7f117a 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 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