summaryrefslogtreecommitdiff
path: root/server/routes
diff options
context:
space:
mode:
authorrohan09-raj <[email protected]>2022-07-28 19:48:13 +0530
committerrohan09-raj <[email protected]>2022-07-28 19:48:13 +0530
commit337b0a2a7d358a597e114197cf5d12e8ed81a19e (patch)
tree7c8828b974b021a29e25c7a87ebeaffa24b9cf66 /server/routes
parent404c7b92eaec55845d08b4da6842fdcfdc587df6 (diff)
folder structure setup and database addition
Diffstat (limited to 'server/routes')
-rw-r--r--server/routes/health.js8
1 files changed, 8 insertions, 0 deletions
diff --git a/server/routes/health.js b/server/routes/health.js
new file mode 100644
index 0000000..2980322
--- /dev/null
+++ b/server/routes/health.js
@@ -0,0 +1,8 @@
+import Express from 'express';
+import {healthCheck} from '../controllers/health.js';
+
+const router = Express.Router();
+
+router.get('/health', healthCheck);
+
+export default router;