From 001f89619d952c51cef0b6e1e4b3c27deaedd030 Mon Sep 17 00:00:00 2001 From: hackbard Date: Sun, 17 Dec 2017 12:08:59 +0000 Subject: [PATCH] initial checkin --- reservix-print.js | 14 ++++++++++++++ 1 file changed, 14 insertions(+) create mode 100644 reservix-print.js diff --git a/reservix-print.js b/reservix-print.js new file mode 100644 index 0000000..2f5d004 --- /dev/null +++ b/reservix-print.js @@ -0,0 +1,14 @@ +const express = require('express'); + +const app = express(); +const port = 8080; + +app.get('/print', function(req, res) { + res.send('Received print job, thanks!'); + console.log(req); +}); + +app.listen(8080, function() { + console.log('Example app listening on port '+port+'!'); +}); + -- 2.39.2