-
Notifications
You must be signed in to change notification settings - Fork 0
/
Copy pathconfig.js
29 lines (20 loc) · 889 Bytes
/
config.js
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
/*
Structure of mongo-credentials.json in credentials folder
{
"connection_user" : {
"name" : "YOUR_USER",
"pw" : "YOUR_PASSWORD",
"role_descr" : "read / write any database"
},
"uri" : "mongodb+srv://YOUR_USER:YOUR_PASSWORD@MY_CLUSTER.dkwzf.mongodb.net/user_records?retryWrites=true&w=majority"
}
*/
// TODO==> Mongo String externalisieren
//import MONGO_CREDS from "./credentials/mongo-credentials.json"
//////////////// TEST
/// "mongodb+srv://application_user:[email protected]/user_records?retryWrites=true&w=majority"
////////////////
module.exports = {
port: process.env.PORT || 3000,
mongoURI : "mongodb+srv://application_user:[email protected]/user_records?retryWrites=true&w=majority"
}