diff --git a/bin/www b/bin/www index 8a9a4249..51cb2971 100644 --- a/bin/www +++ b/bin/www @@ -20,7 +20,7 @@ app.set("port", port); */ const mongoose = require("mongoose"); const dev_db_url = - "mongodb+srv://cooluser:coolpassword@cluster0.cojoign.mongodb.net/local_library?retryWrites=true&w=majority&appName=Cluster0"; + "mongodb+srv://1evelynbeatriz:esRhkYXtccpmysZI@cluster0.edqzaje.mongodb.net/?appName=Cluster0"; const mongoDB = process.env.MONGODB_URI || dev_db_url; try { diff --git a/populatedb.js b/populatedb.js index 53e496cb..32fc9589 100644 --- a/populatedb.js +++ b/populatedb.js @@ -103,6 +103,7 @@ async function createAuthors() { authorCreate(2, "Isaac", "Asimov", "1920-01-02", "1992-04-06"), authorCreate(3, "Bob", "Billings", false, false), authorCreate(4, "Jim", "Jones", "1971-12-16", false), + authorCreate(5, "Evelyn Beatriz", "Teixeira", "2008-11-10", false), ]); } @@ -165,6 +166,14 @@ async function createBooks() { authors[4], false ), + bookCreate( + 7, + "Yellowjackets", + "Sumário de Yelllowjackets", + "ISBN333333", + authors[5], + false + ) ]); }