You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
mongoose.connect("mongodb://admin:password@mongo:27017/?authsource=admin").then(()=> console.log("Successfully connected to dB")).catch((e) => console.log("Error is: ", e));
app.get("/", (req, res) => {
res.send("<h2> Hi....., I am Tahzib, wait there i am comming </h2>")
})
const port = process.env.PORT || 3000;
app.listen(port, ()=> console.log(`Listening on port ${port}`));