Skip to content

Commit

Permalink
edit populate
Browse files Browse the repository at this point in the history
  • Loading branch information
felixtanhm committed May 6, 2024
1 parent de1edce commit 9641d0e
Show file tree
Hide file tree
Showing 2 changed files with 2 additions and 1 deletion.
1 change: 1 addition & 0 deletions full-stack-javascript/21-inventory-application/server/.env
Original file line number Diff line number Diff line change
@@ -0,0 +1 @@
mongodb+srv://felixtanhm-top:[email protected]/pokemon?retryWrites=true&w=majority
Original file line number Diff line number Diff line change
Expand Up @@ -2,7 +2,7 @@
const axios = require("axios");

console.log(
'This script populates some test books, authors, genres and bookinstances to your database. Specified database as argument - e.g.: node populatedb "mongodb+srv://felixtanhm-top:4eLAie362hId35TA@cluster0.wiqnlaq.mongodb.net/pokemon?retryWrites=true&w=majority"'
'This script populates some test books, authors, genres and bookinstances to your database. Specified database as argument - e.g.: node populatedb "mongodb+srv://abc:123@cluster0.wiqnlaq.mongodb.net/pokemon?retryWrites=true&w=majority"'
);

// Get arguments passed on command line
Expand Down

0 comments on commit 9641d0e

Please sign in to comment.