whatsapp-api-nodejs
whatsapp-api-nodejs copied to clipboard
MongoDB Authentication
Good morning, how is it possible to set MONGODB's username and password for authentication in the enviroment file?
Installing mongodb without a password is not secure.
I have tried with: MONGODB_USERNAME MONGODB_PASSWORD
but it does not work
thanks
Good morning, how is it possible to set MONGODB's username and password for authentication in the enviroment file?
Installing mongodb without a password is not secure.
I have tried with: MONGODB_USERNAME MONGODB_PASSWORD
but it does not work
thanks
you can use username password like this
mongodb://USERNAME
:PASSWORD
@localhost:27017/db