drone-with-nodejs/server.js
Brad Rydzewski bd3df756e5
All checks were successful
continuous-integration/drone/push Build is passing
initial commit
2018-06-14 12:27:04 -07:00

11 lines
291 B
JavaScript

var express = require('express');
var app = express();
app.get('/', function (req, res) {
res.status(200).send('ok');
});
var server = app.listen(3000, function () {
var port = server.address().port;
console.log('Example app listening at port %s', port);
});
module.exports = server;