From ffc39a259592e825657d00d8a7081695bf29c885 Mon Sep 17 00:00:00 2001 From: Irene R Date: Sun, 14 Oct 2018 15:39:43 -0400 Subject: [PATCH] 20 profs total --- controllers/profController.js | 240 ++++++++++++++++++++++++++++++++++ 1 file changed, 240 insertions(+) diff --git a/controllers/profController.js b/controllers/profController.js index c1c2b64..b4e304d 100644 --- a/controllers/profController.js +++ b/controllers/profController.js @@ -509,6 +509,246 @@ module.exports = function (app) { prof_language3: "French", prof_photo: "https://randomuser.me/api/portraits/women/44.jpg" }); + }).then(function () { + db.Professional.create({ + prof_first_name: "Earl", + prof_last_name: "Gray", + prof_title: "Clinician", + prof_specialty1: "Panic disorder", + prof_specialty2: "Autism", + prof_specialty3: "Attention disorders", + prof_phone: "7035556746", + prof_email: "earl@earlgray.com", + prof_street: "2807 N Glebe Rd", + prof_city: "Arlington", + prof_state: "VA", + prof_zip: 22207, + prof_gender: "Male", + prof_years: 15, + prof_insurance1: "BlueCross", + prof_insurance2: "Humana", + prof_insurance3: "Aetna", + prof_language1: "English", + prof_language2: "", + prof_language3: "", + prof_photo: "https://randomuser.me/api/portraits/men/60.jpg" + }); + }).then(function () { + db.Professional.create({ + prof_first_name: "Nora", + prof_last_name: "Baker", + prof_title: "Therapist", + prof_specialty1: "Social anxiety", + prof_specialty2: "Separation anxiety disorder", + prof_specialty3: "", + prof_phone: "7035555059", + prof_email: "nora@norabaker.com", + prof_street: "2900 Clarendon Blvd", + prof_city: "Arlington", + prof_state: "VA", + prof_zip: 22201, + prof_gender: "Female", + prof_years: 35, + prof_insurance1: "BlueCross", + prof_insurance2: "United Healthgroup", + prof_insurance3: "", + prof_language1: "French", + prof_language2: "English", + prof_language3: "", + prof_photo: "https://randomuser.me/api/portraits/women/77.jpg" + }); + }).then(function () { + db.Professional.create({ + prof_first_name: "Kenzi", + prof_last_name: "Gutierrez", + prof_title: "Social Worker", + prof_specialty1: "Depression", + prof_specialty2: "Bipolar disorder", + prof_specialty3: "LGBT", + prof_phone: "3015558628", + prof_email: "kenzi@kenzigutierrez.com", + prof_street: "11355 Woodglen Dr", + prof_city: "Rockville", + prof_state: "MD", + prof_zip: 20852, + prof_gender: "Genderneutral", + prof_years: 12, + prof_insurance1: "Medicare", + prof_insurance2: "Medicaid", + prof_insurance3: "BlueCross", + prof_language1: "English", + prof_language2: "Chinese", + prof_language3: "Korean", + prof_photo: "https://randomuser.me/api/portraits/women/78.jpg" + }); + }).then(function () { + db.Professional.create({ + prof_first_name: "Brent", + prof_last_name: "Butler", + prof_title: "Psychologist", + prof_specialty1: "Depression", + prof_specialty2: "Family counselling", + prof_specialty3: "Post-partum depression", + prof_phone: "3015554532", + prof_email: "brent@brentbutler.com", + prof_street: "10100 Baltimore Ave", + prof_city: "College Park", + prof_state: "MD", + prof_zip: 20740, + prof_gender: "Male", + prof_years: 40, + prof_insurance1: "Aetna", + prof_insurance2: "Medicaid", + prof_insurance3: "Humana", + prof_language1: "English", + prof_language2: "German", + prof_language3: "", + prof_photo: "https://randomuser.me/api/portraits/men/64.jpg" + }); + }).then(function () { + db.Professional.create({ + prof_first_name: "Josephine", + prof_last_name: "Neal", + prof_title: "Social Worker", + prof_specialty1: "Depression", + prof_specialty2: "Bipolar disorder", + prof_specialty3: "Social Anxiety", + prof_phone: "7035559252", + prof_email: "josephine@josephineneal.com", + prof_street: "2700 Clarendon Blvd", + prof_city: "Arlington", + prof_state: "VA", + prof_zip: 22201, + prof_gender: "Female", + prof_years: 2, + prof_insurance1: "BlueCross", + prof_insurance2: "Medicaid", + prof_insurance3: "Aetna", + prof_language1: "English", + prof_language2: "Swiss", + prof_language3: "French", + prof_photo: "https://randomuser.me/api/portraits/women/96.jpg" + }); + }).then(function () { + db.Professional.create({ + prof_first_name: "Mathew", + prof_last_name: "Rhodes", + prof_title: "Primary Care Physician", + prof_specialty1: "Attention disorders", + prof_specialty2: "Autism", + prof_specialty3: "Social Anxiety", + prof_phone: "3015555657", + prof_email: "mathew@mathewrhodes.com", + prof_street: "250 Richard Montgomery Drive", + prof_city: "Rockville", + prof_state: "MD", + prof_zip: 20852, + prof_gender: "Male", + prof_years: 10, + prof_insurance1: "Humana", + prof_insurance2: "Kaiser Permanente", + prof_insurance3: "", + prof_language1: "German", + prof_language2: "English", + prof_language3: "French", + prof_photo: "https://randomuser.me/api/portraits/men/52.jpg" + }); + }).then(function () { + db.Professional.create({ + prof_first_name: "Leroy", + prof_last_name: "Berry", + prof_title: "Psychiatrist", + prof_specialty1: "Post-traumatic stress disorder", + prof_specialty2: "Panic disorder", + prof_specialty3: "Family counselling", + prof_phone: "7035553179", + prof_email: "leroy@leroyberry.com", + prof_street: "1500 Tysons McLean Dr", + prof_city: "McLean", + prof_state: "VA", + prof_zip: 22102, + prof_gender: "Male", + prof_years: 50, + prof_insurance1: "BlueCross", + prof_insurance2: "Kaiser Permanente", + prof_insurance3: "Humana", + prof_language1: "English", + prof_language2: "Polish", + prof_language3: "French", + prof_photo: "https://randomuser.me/api/portraits/men/13.jpg" + }); + }).then(function () { + db.Professional.create({ + prof_first_name: "Cindy", + prof_last_name: "Gray", + prof_title: "Psychologist", + prof_specialty1: "Depression", + prof_specialty2: "Social anxiety", + prof_specialty3: "Family counselling", + prof_phone: "3015556616", + prof_email: "cindy@cindygray.com", + prof_street: "8800 Greenbelt Rd", + prof_city: "Greenbelt", + prof_state: "MD", + prof_zip: 20771, + prof_gender: "Female", + prof_years: 35, + prof_insurance1: "Aetna", + prof_insurance2: "Humana", + prof_insurance3: "Medicare", + prof_language1: "English", + prof_language2: "German", + prof_language3: "French", + prof_photo: "https://randomuser.me/api/portraits/women/41.jpg" + }); + }).then(function () { + db.Professional.create({ + prof_first_name: "Chloe", + prof_last_name: "Gonzales", + prof_title: "Social Worker", + prof_specialty1: "Attention-deficit hyperactivity disorder", + prof_specialty2: "Social anxiety", + prof_specialty3: "Family counselling", + prof_phone: "7035551445", + prof_email: "chloe@chloegonzales.com", + prof_street: "4400 University Dr", + prof_city: "Fairfax", + prof_state: "VA", + prof_zip: 22030, + prof_gender: "Female", + prof_years: 5, + prof_insurance1: "Medicaid", + prof_insurance2: "BlueCross", + prof_insurance3: "Medicare", + prof_language1: "English", + prof_language2: "Spanish", + prof_language3: "", + prof_photo: "https://randomuser.me/api/portraits/women/59.jpg" + }); + }).then(function () { + db.Professional.create({ + prof_first_name: "Darrell", + prof_last_name: "Chapman", + prof_title: "Therapist", + prof_specialty1: "Post-partum depression", + prof_specialty2: "Family counselling", + prof_specialty3: "", + prof_phone: "3015557181", + prof_email: "darrell@darrellchapman.com", + prof_street: "11110 Mall Circle", + prof_city: "Waldorf", + prof_state: "MD", + prof_zip: 20603, + prof_gender: "Male", + prof_years: 40, + prof_insurance1: "Medicaid", + prof_insurance2: "Aetna", + prof_insurance3: "Humana", + prof_language1: "English", + prof_language2: "French", + prof_language3: "", + prof_photo: "https://randomuser.me/api/portraits/men/29.jpg" + }); res.redirect("/prof-finder"); }); });