diff --git a/app/index.js b/app/index.js new file mode 100644 index 0000000..caf1927 --- /dev/null +++ b/app/index.js @@ -0,0 +1,14 @@ +const express = require("express"); +const app = express(); +const PORT = 1025; + +app.get("/", (req, res)=>{ + res.json({ + code: 200, + type: "nothing_to_show" + }); +}) + +app.listen(PORT, ()=>{ + console.log("[APP] Ready on port " + PORT); +}) \ No newline at end of file diff --git a/package.json b/package.json index fd7ab03..379178c 100644 --- a/package.json +++ b/package.json @@ -4,7 +4,7 @@ "description": "", "main": "index.js", "scripts": { - "test": "echo \"Error: no test specified\" && exit 1" + "start": "node app/" }, "keywords": [], "author": "",