projects
/
outofuni
/
reservix-print.git
/ blob
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
|
commitdiff
|
tree
history
|
raw
|
HEAD
initial checkin
[outofuni/reservix-print.git]
/
reservix-print.js
1
const express = require('express');
2
3
const app = express();
4
const port = 8080;
5
6
app.get('/print', function(req, res) {
7
res.send('Received print job, thanks!');
8
console.log(req);
9
});
10
11
app.listen(8080, function() {
12
console.log('Example app listening on port '+port+'!');
13
});
14