Skip to content

Commit

Permalink
adding / route
Browse files Browse the repository at this point in the history
  • Loading branch information
yashcrest committed Jun 19, 2024
1 parent 82ec504 commit 547a3ee
Show file tree
Hide file tree
Showing 2 changed files with 5 additions and 1 deletion.
2 changes: 1 addition & 1 deletion backend/package.json
Original file line number Diff line number Diff line change
Expand Up @@ -24,4 +24,4 @@
"concurrently": "^8.2.2",
"nodemon": "^3.1.0"
}
}
}
4 changes: 4 additions & 0 deletions backend/server.js
Original file line number Diff line number Diff line change
Expand Up @@ -25,6 +25,10 @@ app.use(express.json());

app.use("/api/users", authRoutes);

app.get("/", (req, res) => {
res.json("working.");
});

// for messages routes
app.use("/api/messages", messagesRoutes);

Expand Down

0 comments on commit 547a3ee

Please sign in to comment.