-
Notifications
You must be signed in to change notification settings - Fork 0
/
Copy pathNode_app_DB.txt
104 lines (98 loc) · 4.27 KB
/
Node_app_DB.txt
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
61
62
63
64
65
66
67
68
69
70
71
72
73
74
75
76
77
78
79
80
81
82
83
84
85
86
87
88
89
90
91
92
93
94
95
96
97
98
99
100
101
102
103
104
use milestone4
db.jobs.drop()
db.userdetails.drop()
db.userjobs.drop()
db.logins.drop()
db.createCollection("userdetails")
db.createCollection("jobs")
db.createCollection("userjobs")
db.createCollection("logins")
db.jobs.insertMany([
{
jobId: 1,
jobName: "Front end developer at spec communications",
categoryName: "Internship",
details: "We are looking for a candidate with strong Angular experience developing web applications. A candidate with additional experience developing C# applications as well hosting web applications in Microsoft Azure would be a plus",
dateTime: "Thursday sep 20,2019",
imageURL: "/assets/Front-End-Development-Bundle.jpg",
userId:1
},
{
jobId: 2,
jobName: "Back end developer at coocle",
categoryName: "Internship",
details: "We are looking for a candidate with strong Angular experience developing web applications. A candidate with additional experience developing C# applications as well hosting web applications in Microsoft Azure would be a plus",
dateTime: "Friday sep 21,2019",
imageURL: "/assets/back-end-developer.jpg",
userId:2
},
{
jobId: 3,
jobName: "ios developer at Orange",
categoryName: "Internship",
details: "We are looking for a candidate with strong Angular experience developing web applications. A candidate with additional experience developing C# applications as well hosting web applications in Microsoft Azure would be a plus",
dateTime: "Sunday sep 20, 2019",
imageURL: "/assets/iOSDeveloper.jpg",
userId:1
},
{
jobId: 4,
jobName: "UI front end developer at casper",
categoryName: "Full-time",
details: "We are looking for a candidate with strong Angular experience developing web applications. A candidate with additional experience developing C# applications as well hosting web applications in Microsoft Azure would be a plus",
dateTime: "Monday sep 20,2019",
imageURL: "/assets/UIDEVeloper.jpg",
userId:2
},
{
jobId: 5,
jobName: "senior Java developer at Jdoodle",
categoryName: "Full-time",
details: "We are looking for a candidate with strong Angular experience developing web applications. A candidate with additional experience developing C# applications as well hosting web applications in Microsoft Azure would be a plus",
dateTime:"Thursday sep 20, 2019",
imageURL: "/assets/seniorjava.jpg",
userId:1,
},
{
jobId: 6,
jobName: "Junior Java developer at ex_scripts",
categoryName: "Full-time",
details: "We are looking for a candidate with strong Angular experience developing web applications. A candidate with additional experience developing C# applications as well hosting web applications in Microsoft Azure would be a plus",
dateTime:"Thursday sep 20, 2019",
imageURL: "/assets/java.jpg",
userId:2
},
])
db.userdetails.insertMany([
{
UserID: 1,
firstName: "sai",
lastName: "krishna",
username: "[email protected]",
password:"smannav1@edu",
address1Field: "barton creek drive",
address2Field: "426",
city: "charlotte",
state: "NC",
zipcode: 28262,
country: "usa"
},
{
UserID: 2,
firstName: "sai1",
lastName: "krishna1",
username: "[email protected]",
password:"immsk@123",
address1Field: "barton creek drive1",
address2Field: "4261",
city: "charlotte1",
state: "NC1",
zipcode: 28263,
country: "usa1"
}
])
db.userjobs.insertMany([{UserID:1, jobName: "Front end developer at spec communications", rsvp: "Yes", categoryName:"Internship"},
{UserID:1, jobName: "Back end developer at coocle", rsvp:"Yes" , categoryName:"Internship"}
])
db.logins.insertMany([{ucode:1, username:"[email protected]", password:smannav1@edu},
{ucode:2, username:"[email protected]", password:"immsk@123"}])