MongoWriteConcernError: No write concern mode named 'majority ' found in replica set configuration
//just &w=majority from connection string !
"mongoURI" : "mongodb+srv://${ user }:${ password }@cluster0.mde0j.mongodb.net/cluster0?retryWrites=true&w=majority "
//it will lok like this
"mongoURI" : "mongodb+srv://${ user }:${ password }@cluster0.mde0j.mongodb.net/cluster0?retryWrites=true"