Search
 
SCRIPT & CODE EXAMPLE
 
CODE EXAMPLE FOR JAVASCRIPT

how insert variable dotenv password mangodb

mongoose.connect('mongodb+srv://' + process.env.MONGO_USERNAME + ':' + process.env.MONGO_PASSWORD + '@jons-thoughts.xpo8p.mongodb.net/jons-thoughts?retryWrites=true&w=majority');
Source by stackoverflow.com #
 
PREVIOUS NEXT
Tagged: #insert #variable #dotenv #password #mangodb
ADD COMMENT
Topic
Name
4+4 =