Created
October 21, 2022 13:43
-
-
Save muhammed-mukthar/77e4bc05f5342a7ed09c88d7f9f9a239 to your computer and use it in GitHub Desktop.
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
const mongoose=require('mongoose') | |
mongoose.connect( | |
process.env.MONGO_URL | |
).then(()=>console.log('db connection is succesffull')) | |
.catch((err)=>console.log(err,'fss') | |
) |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment