From 76dab6caf1b438cf4aa36ed7acf27ff8d248c1e1 Mon Sep 17 00:00:00 2001 From: Haris Razis Date: Tue, 8 Dec 2020 18:23:28 +0200 Subject: [PATCH] =?UTF-8?q?=E2=9E=95=20Add=20routes?= MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit --- server/routes/data.js | 8 ++++++++ 1 file changed, 8 insertions(+) create mode 100644 server/routes/data.js diff --git a/server/routes/data.js b/server/routes/data.js new file mode 100644 index 0000000..e6e08ad --- /dev/null +++ b/server/routes/data.js @@ -0,0 +1,8 @@ +const express = require('express'), + router = express.Router(); + +router.get('/', (req, res) => { + res.send('Hello World') +}) + +module.exports = router;