-
Notifications
You must be signed in to change notification settings - Fork 0
/
seeds.js
60 lines (54 loc) · 20.1 KB
/
seeds.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
30
31
32
33
34
35
36
37
38
39
40
41
42
43
44
45
46
47
48
49
50
51
52
53
54
55
56
57
58
59
60
var mongoose = require("mongoose");
var Campground = require("./models/campground");
var Comment = require("./models/comment");
var data =[
{name :"mount tabu",
image : "data:image/jpeg;base64,/9j/4AAQSkZJRgABAQAAAQABAAD/2wCEAAkGBwgHBgkIBwgKCgkLDRYPDQwMDRsUFRAWIB0iIiAdHx8kKDQsJCYxJx8fLT0tMTU3Ojo6Iys/RD84QzQ5OjcBCgoKDQwNGg8PGjclHyU3Nzc3Nzc3Nzc3Nzc3Nzc3Nzc3Nzc3Nzc3Nzc3Nzc3Nzc3Nzc3Nzc3Nzc3Nzc3Nzc3N//AABEIAHkAugMBIgACEQEDEQH/xAAcAAACAwEBAQEAAAAAAAAAAAADBAIFBgEHAAj/xABGEAACAQIEAwUDCAYKAAcAAAABAgMEEQAFEiExQVEGEyJhcTKBkRRCcqGxwdHwByM0c7LhFRYkMzVDUnSC8TZTYoOSs9L/xAAZAQADAQEBAAAAAAAAAAAAAAABAgMEAAX/xAAlEQACAgICAgICAwEAAAAAAAAAAQIRAyESMQRBE1FxoRQiYQX/2gAMAwEAAhEDEQA/ALzuT0x3uSOWPKcy7YZ3VzLVJM0USMbCL2bgcOHtAHe+AU/bHPqe7JVsySEudcQa5tY/nrjZ86MHwSPXgpB3GCr6Yz/Y7tTBnlFIKmIQz08epjrB7wAbnlv1xqIjFMuuF0kS9tSMCMVUkxHFp0yC4IMS0DEgmOsJEDBUGPghwSNDzwBkdGJDHdB4jhiYXCjHwxIDHVAwQAYDYURAOJKuJqMTsMAajipgyJ1GB6wOGONMRzwuxhoLbErC+K/5SRxOJLU4DizlJD+i+PrW2wmJyeLWx35SkY8TXJ4YFMPJDLtpwIyNyGASViW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DCNcbatZXu9EQAcb33bl04eQGK6r/AGWk/cJ9mCZp/i8v7yX+E4VLYyPo5hFVRGSRy6PbVTrqUMLbFzbfw9MWkNYsmYJGkEzGZG0RpwvqJN+QUE394xnaL9kov9xN/AmNR2X/AMIn+if48WeKNDxVstKdX0hWRZW0AOAdh+ODzRxqA8iKSAPBq1E/Hb4YRn/Z/wDjiY9mn/d/jiEtIu0kdmZGcmMaXJuQNibYEyl1fXIVkuCeA9b/AIYif2+P0/DEM3/aIvd9gxJsSQYsUYozi224F/df7sNSJEFLRq4svhKcBffcHcYTp/Yf99hk+wnon2nA6VnR6OGa8WqK7MuxuCWX3e7rj6aabSVS5Qixttb3bWwnS/303ocMr/cp/wAv4RjrfRx9G4S3d8RuXO6jEzNWFS0s4ZCfCym9z+b4Rp+J+gftGDQ/5P0Dhk9AsaiaojN0nTbdlewv7vdgd6k8HcjroGFp/ZX6Q+zBRwGOWwWf/9k=",
description:"It is a long established fact that a reader will be distracted by the readable content of a page when looking at its layout. The point of using Lorem Ipsum is that it has a more-or-less normal distribution of letters, as opposed to using 'Content here, content here', making it look like readable English. Many desktop publishing packages and web page editors now use Lorem Ipsum as their default model text, and a search for 'lorem ipsum' will uncover many web sites still in their infancy. Various versions have evolved over the years, sometimes by accident, sometimes on purpose (injected humour and the like)."
},
{name :"lake tabu",
image : "data:image/jpeg;base64,/9j/4AAQSkZJRgABAQAAAQABAAD/2wCEAAkGBwgHBgkIBwgKCgkLDRYPDQwMDRsUFRAWIB0iIiAdHx8kKDQsJCYxJx8fLT0tMTU3Ojo6Iys/RD84QzQ5OjcBCgoKDQwNGg8PGjclHyU3Nzc3Nzc3Nzc3Nzc3Nzc3Nzc3Nzc3Nzc3Nzc3Nzc3Nzc3Nzc3Nzc3Nzc3Nzc3Nzc3N//AABEIAHkAoQMBIgACEQEDEQH/xAAbAAACAwEBAQAAAAAAAAAAAAAEBQIDBgABB//EAEQQAAIBAgQDBQMIBwcEAwAAAAECAwQRAAUSIRMxQQYiUW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8A3hWMyq0k1CZr4rm/+P0xQOZ9cdMYRSJhsdezn9fdrfS64a5RULKxUvGlmNla5J6k2A3xnPpe/BtB85H/ABffguKMtM1aTxOzaXMgW4vYj3WxBmPEUG6LfqDgXKP8XP8A7xwVV/Mn1+5cKVJa4/2h/LjsBY7GFs//2Q==",
description:"It is a long established fact that a reader will be distracted by the readable content of a page when looking at its layout. The point of using Lorem Ipsum is that it has a more-or-less normal distribution of letters, as opposed to using 'Content here, content here', making it look like readable English. Many desktop publishing packages and web page editors now use Lorem Ipsum as their default model text, and a search for 'lorem ipsum' will uncover many web sites still in their infancy. Various versions have evolved over the years, sometimes by accident, sometimes on purpose (injected humour and the like)."
},
{name :"everest tabu",
image : "https://images.unsplash.com/photo-1455496231601-e6195da1f841?ixlib=rb-0.3.5&ixid=eyJhcHBfaWQiOjEyMDd9&s=4d1156d3e4dfafbc71a9f293939f3243&auto=format&fit=crop&w=600&q=60",
description:"vxvxvshgcvshgcvhsgvchgshchc"
},
{name :"smokey tabu",
image : "https://images.unsplash.com/photo-1508873696983-2dfd5898f08b?ixlib=rb-0.3.5&ixid=eyJhcHBfaWQiOjEyMDd9&s=5cedc6b95f731395da7269d2341f9a5e&auto=format&fit=crop&w=1050&q=80",
description:"It is a long established fact that a reader will be distracted by the readable content of a page when looking at its layout. The point of using Lorem Ipsum is that it has a more-or-less normal distribution of letters, as opposed to using 'Content here, content here', making it look like readable English. Many desktop publishing packages and web page editors now use Lorem Ipsum as their default model text, and a search for 'lorem ipsum' will uncover many web sites still in their infancy. Various versions have evolved over the years, sometimes by accident, sometimes on purpose (injected humour and the like)."
}
]
function seedDB(){
Campground.remove({},function(err){
//Remove campgrounds
if(err){
console.log(err);
}else{
console.log("all campgrounds removed");
}
//Create Campgrounds
data.forEach(function(seed){
Campground.create(seed,function(err,campground){
if(err){
console.log(err);
}else{
console.log("campground added");
}
//Create comment
Comment.create({text: "This place is great , but it could have internet",
author :"Rupa"
},function(err,comment){
if(err){
console.log(err)
}else{
campground.comments.push(comment);
campground.save();
console.log("Comment is created ");
}
});
});
});
});
}
module.exports=seedDB;