diff --git a/NodeAPI/index.js b/NodeAPI/index.js index 60a7ba03a60bc2d56b694d1804b1c672d17967c2..d4433edda16698a43edcae142ad5b138065cff1a 100644 --- a/NodeAPI/index.js +++ b/NodeAPI/index.js @@ -7,7 +7,7 @@ const port = 3000; // Get the mongodb url var MongoClient = require('mongodb').MongoClient; -var url = "mongodb://localhost:27017/pred_records"; +var url = "mongodb+srv://dbuser:nlp2021@clusternlp.5iof9.mongodb.net/myFirstDatabase?retryWrites=true&w=majority"; app.set('view engine', 'ejs')