From ac75a7da1d16bb118a71df8ddf3d44df27d28b40 Mon Sep 17 00:00:00 2001 From: Kaleeswari Date: Wed, 2 Feb 2022 11:10:11 +0530 Subject: [PATCH] merge branch --- api/routes/api.js | 4 ++++ 1 file changed, 4 insertions(+) diff --git a/api/routes/api.js b/api/routes/api.js index 23d87c0..9bec860 100644 --- a/api/routes/api.js +++ b/api/routes/api.js @@ -6,6 +6,10 @@ const models=require('../models'); var app = express(); app.use(bodyparser.json()); +app.get('/',async(req,res)=>{ + + res.send("Welcome to Open Close API"); +}); //ROLE START //POST ROLE ADD