Skip to content

Commit 0544b54

Browse files
🔧 Add example databse.config file
1 parent 3aea701 commit 0544b54

File tree

2 files changed

+6
-0
lines changed

2 files changed

+6
-0
lines changed

config/database.config.js

Lines changed: 3 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,3 @@
1+
module.exports = {
2+
url:'mongodb+srv://admin:[email protected]/ecommerce-api?retryWrites=true&w=majority'
3+
}

config/database.configexample.js

Lines changed: 3 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,3 @@
1+
module.exports = {
2+
url:'mongodb+srv://<username>:<password>@learning.eauwn.mongodb.net/<database>?retryWrites=true&w=majority'
3+
}

0 commit comments

Comments
 (0)