diff --git a/index.js b/index.js new file mode 100644 index 0000000..41a3cb5 --- /dev/null +++ b/index.js @@ -0,0 +1,24 @@ +const express = require("express"); +var crypto = require('crypto'); +const { finished } = require("stream"); + +const app = express(); + +const PORT = 6968; + +let jobs = { + queued: {}, + waiting: {}, + finished: {} +} + +app.use(express.json()); + +app.get('/', (req, res) => { + res.send('Job handling server') +}) + + +app.listen(PORT, () => { + console.log("Job Server running") +}) \ No newline at end of file