Environment variable
Today we will learn ab
.then((conn)=>{
console.log(`Connected to DB: ${conn.connection.host}`);
})
Basically, it provides ${conn. connection.host} hostname.
Environment Variable
Environment variables are basically used for storing sens...
mongoose.hashnode.dev2 min read