Skip to content
Snippets Groups Projects
Commit 74e40759 authored by Iskandar, Michelle P (UG - Computer Science)'s avatar Iskandar, Michelle P (UG - Computer Science) :ice_skate:
Browse files

Chnaged url to use MongoDB Atlas

parent 6b23c74b
No related branches found
No related tags found
1 merge request!2Database
...@@ -7,7 +7,7 @@ const port = 3000; ...@@ -7,7 +7,7 @@ const port = 3000;
// Get the mongodb url // Get the mongodb url
var MongoClient = require('mongodb').MongoClient; 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') app.set('view engine', 'ejs')
......
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment