From 6db5cb0e710776d566152615308c4f1f5e69f812 Mon Sep 17 00:00:00 2001 From: Nikhil Kumar <125179303+WhiteSnek@users.noreply.github.com> Date: Sat, 27 Apr 2024 18:27:33 +0530 Subject: [PATCH] Update app.js --- backend/src/app.js | 5 ++++- 1 file changed, 4 insertions(+), 1 deletion(-) diff --git a/backend/src/app.js b/backend/src/app.js index 0a0c0d4..e5e8afb 100644 --- a/backend/src/app.js +++ b/backend/src/app.js @@ -24,9 +24,12 @@ import userRouter from './routes/user.routes.js' import listRouter from './routes/list.routes.js' import taskRouter from './routes/task.routes.js' +app.get('/',(req,res)=>{ + res.json('hello') +}) // routes declaration app.use("/api/v1/users",userRouter) app.use("/api/v1/lists",listRouter) app.use("/api/v1/tasks",taskRouter) -export {app} \ No newline at end of file +export {app}