Skip to content

Commit

Permalink
Update index.js
Browse files Browse the repository at this point in the history
  • Loading branch information
ujjwal-webdev committed Oct 21, 2023
1 parent 58785c3 commit 0950b4b
Showing 1 changed file with 7 additions and 2 deletions.
9 changes: 7 additions & 2 deletions React-V1/server/index.js
Original file line number Diff line number Diff line change
Expand Up @@ -40,10 +40,15 @@ mongoose.connect(mongoURI,
)


// mongoose.connect(mongoURI).then(
// mongoose.connect(mongoURI)
// .then(
// () => {console.log("Your DB is connected")},
// err => {console.log(err)}
// );
// )
// .catch(err)
// {
// console.log(err);
// }

app.get('/test', (req,res) => {
res.send("Hello User");
Expand Down

0 comments on commit 0950b4b

Please sign in to comment.