-
Notifications
You must be signed in to change notification settings - Fork 2
/
Copy pathdb.json
72 lines (72 loc) · 2.23 KB
/
db.json
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
{
"properties": [
{
"id": 101,
"name": "1End of the Road Lane",
"address": "1End of the Road Lane",
"summary": "3 BR 1 BA House w/ Garage",
"city": "Nairobi",
"county": "Nairobi",
"category": "Rent",
"description": "A cozy, two bedroom cabin on four acres. Modern plumbing, emergency generator for electrical outages. Propame heat and a wood stove with plenty of trees for fuel. Unpaved gravel driveway is approx 0.5 mile to main road. 15 minutes from downtown shopping",
"img_url": "https://res.cloudinary.com/hng-pre-internship/image/upload/v1659192965/o8v4zmeif8bxrukmtpce.jpg",
"bedrooms": "3",
"bathrooms": "3",
"size": 3800,
"price": "Ksh.3000000",
"features": [
"2 Bedrrom w/ all appliances",
"Hardwood floors",
"Covered car port"
]
},
{
"id": 101,
"name": "The Loard's Court",
"address": "1End of the Road Lane",
"summary": "10 BR 17 BA House w/ Garage",
"city": "Nairobi",
"county": "Nairobi",
"category": "Rent",
"description": "A cozy, two bedroom cabin on four acres. Modern plumbing, emergency generator for electrical outages. Propame heat and a wood stove with plenty of trees for fuel. Unpaved gravel driveway is approx 0.5 mile to main road. 15 minutes from downtown shopping",
"img_url": "https://res.cloudinary.com/hng-pre-internship/image/upload/v1659078754/cozyhomes/assets/pexels-binyamin-mellish-1396132_feo3st.jpg",
"bedrooms": "3",
"bathrooms": "3",
"size": 5800,
"price": "Ksh.7000000",
"features": [
"2 Bedrrom w/ all appliances",
"Hardwood floors",
"Covered car port"
]
}
],
"users": [
{
"firstName": "John",
"lastName": "John",
"email": "[email protected]",
"password": "12345",
"accountType": "user",
"wishList": [
{
"listing_id": 101
}
]
},
{
"firstName": "Jane",
"lastName": "Doe",
"email": "[email protected]",
"password": "12345",
"accountType": "Agent",
"listings": [
{
"listing_id": 101,
"views": 200,
"likes": 200
}
]
}
]
}