Skip to content

Commit cc43303

Browse files
committed
Added json files
1 parent f739e9e commit cc43303

File tree

4 files changed

+229
-2
lines changed

4 files changed

+229
-2
lines changed

README.md

+2-2
Original file line numberDiff line numberDiff line change
@@ -8,8 +8,8 @@
88

99
*Create a 3 page app.*
1010

11-
- When you launch the app, you should see a list of resource categories (categories.json)
12-
- When you click on a category, it should open a list of resources (restaurant.json or vacation-spot.json)
11+
- When you launch the app, you should see a list of resource categories (`/data/categories.json`)
12+
- When you click on a category, it should open a list of resources (`/data/restaurant.json` or `/data/vacation-spot.json`)
1313
- When you click on a resource, it should open a details page (see attached mockup)
1414

1515
# User Stories

data/categories.json

+25
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,25 @@
1+
[
2+
{
3+
"_id": "59839fd7951cf747207bed3e",
4+
"updated_at": "2017-08-03T22:12:39.544Z",
5+
"slug": "restaurants",
6+
"custom_module_eid": "aad16857-166d-43d4-8f16-d097902838cf",
7+
"eid": "ac5bd194-11de-48f6-94db-fd16cfccb570",
8+
"title": "Restaurants",
9+
"description": "Find local restaurants",
10+
"__v": 0,
11+
"_active": true,
12+
"created_at": "2017-08-03T22:12:39.537Z"
13+
},
14+
{
15+
"_id": "5983a2b7951cf747207bed41",
16+
"updated_at": "2017-08-03T22:24:55.668Z",
17+
"slug": "vacation-spots",
18+
"custom_module_eid": "aad16857-166d-43d4-8f16-d097902838cf",
19+
"eid": "83a5bc0d-bae7-4b3f-b8d9-01c969785783",
20+
"title": "Vacation Spots",
21+
"__v": 0,
22+
"_active": true,
23+
"created_at": "2017-08-03T22:24:55.662Z"
24+
}
25+
]

data/restaurants.json

+153
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,153 @@
1+
[
2+
{
3+
"_id": "5983a9e2951cf747207bed45",
4+
"slug": "pizza-spanos",
5+
"eid": "8bb64496-3e68-4b4d-902e-1ac3ec494f21",
6+
"title": "Pizza Spanos",
7+
"description": "<p>Powering Devs Everywhere</p>",
8+
"category_eid": "ac5bd194-11de-48f6-94db-fd16cfccb570",
9+
"__v": 2,
10+
"photo": "https://s3.amazonaws.com/qsapi-files/files/49851e71-5114-4d94-9d9a-7f3cacb1764e/a372062a-9a75-4a94-ba1b-2e6a3df21b54.jpeg",
11+
"_active": true,
12+
"updated_at": "2017-08-04T14:37:01.290Z",
13+
"created_at": "2017-08-03T22:55:30.469Z",
14+
"addresses": [
15+
{
16+
"address1": "1360 Sunnybrooke",
17+
"label": "Pizza Spanos",
18+
"zipCode": "H9B 2W5",
19+
"city": "DDO",
20+
"state": "QC",
21+
"country": "Canada",
22+
"gps": {
23+
"latitude": "45.490834",
24+
"longitude": "-73.777091"
25+
}
26+
}
27+
],
28+
"contactInfo": {
29+
"website": [
30+
"https://www.google.com"
31+
],
32+
"email": [
33+
34+
],
35+
"phoneNumber": [
36+
"15147028287"
37+
]
38+
}
39+
},
40+
{
41+
"_id": "5983ab39951cf747207bed47",
42+
"slug": "elixor",
43+
"eid": "99e372d1-a29d-49f9-b066-487a3bca865e",
44+
"title": "Elixor",
45+
"description": "<p>The Publishing Lunch Resto</p>",
46+
"bizHours": {
47+
"sunday": {
48+
"from": "10:00 AM",
49+
"to": "11:45 AM"
50+
},
51+
"monday": {
52+
"from": "09:00 AM",
53+
"to": "06:30 PM"
54+
}
55+
},
56+
"category_eid": "ac5bd194-11de-48f6-94db-fd16cfccb570",
57+
"__v": 1,
58+
"photo": "https://s3.amazonaws.com/qsapi-files/files/49851e71-5114-4d94-9d9a-7f3cacb1764e/0f341b02-1e13-4e6f-8911-2ac5fbdbfcc9.jpeg",
59+
"_active": true,
60+
"updated_at": "2017-08-04T14:36:36.747Z",
61+
"created_at": "2017-08-03T23:01:13.731Z",
62+
"addresses": [
63+
{
64+
"address1": "3237 Sources Blvd",
65+
"city": "Montreal",
66+
"state": "QC",
67+
"zipCode": "H9B 1Z6",
68+
"country": "Canada",
69+
"label": "Elixor"
70+
}
71+
],
72+
"contactInfo": {
73+
"website": [
74+
"https://www.google.com"
75+
],
76+
"email": [
77+
78+
],
79+
"phoneNumber": [
80+
"15147028287"
81+
]
82+
}
83+
},
84+
{
85+
"_id": "5983ab85951cf747207bed48",
86+
"slug": "quickseries",
87+
"eid": "dc0b0a4c-a9dc-4070-a56d-dca62ff4d849",
88+
"title": "QuickSeries",
89+
"description": "<p>QuickSeries delivers content</p>",
90+
"category_eid": "ac5bd194-11de-48f6-94db-fd16cfccb570",
91+
"__v": 0,
92+
"photo": "https://s3.amazonaws.com/qsapi-files/files/49851e71-5114-4d94-9d9a-7f3cacb1764e/33c22133-1c17-43b8-bf71-b24692c49e5b.jpeg",
93+
"_active": true,
94+
"updated_at": "2017-08-04T14:39:45.585Z",
95+
"created_at": "2017-08-03T23:02:29.705Z",
96+
"contactInfo": {
97+
"website": [
98+
"http://www.quickseries.com"
99+
],
100+
"email": [
101+
102+
],
103+
"faxNumber": [
104+
"8773293291"
105+
],
106+
"tollFree": [
107+
"19003614653"
108+
],
109+
"phoneNumber": [
110+
"9545841606"
111+
]
112+
}
113+
},
114+
{
115+
"_id": "5983a186951cf747207bed40",
116+
"slug": "quesada",
117+
"eid": "4a429d70-f96b-4378-9653-c0c57e03adff",
118+
"title": "Quesada",
119+
"description": "<p>Get the big honking burrito. Matti can give you tips how to eat it neatly.</p>",
120+
"category_eid": "ac5bd194-11de-48f6-94db-fd16cfccb570",
121+
"__v": 4,
122+
"photo": "https://s3.amazonaws.com/qsapi-files/files/49851e71-5114-4d94-9d9a-7f3cacb1764e/d6e9f7c7-360b-4b16-8041-310f247a1bfe.jpeg",
123+
"_active": true,
124+
"updated_at": "2017-08-04T14:36:10.207Z",
125+
"created_at": "2017-08-03T22:19:50.918Z",
126+
"socialMedia": {
127+
"youtubeChannel": [
128+
"https://www.youtube.com/channel/UCT0hbLDa-unWsnZ6Rjzkfug"
129+
],
130+
"twitter": [
131+
"https://twitter.com/quickseriespub"
132+
],
133+
"facebook": [
134+
"https://www.facebook.com/pages/Quickseries-Publishing-Inc/946403368763231"
135+
]
136+
},
137+
"addresses": [
138+
{
139+
"label": "Quesada",
140+
"address1": "3343 Boul des Sources",
141+
"city": "Montreal",
142+
"zipCode": "H9B1Z8",
143+
"state": "QC",
144+
"country": "Canada"
145+
}
146+
],
147+
"contactInfo": {
148+
"phoneNumber": [
149+
"15145424545"
150+
]
151+
}
152+
}
153+
]

data/vacation-spot.json

+49
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,49 @@
1+
[
2+
{
3+
"_id": "5983a696951cf747207bed42",
4+
"slug": "places-to-read",
5+
"eid": "91716028-4fbd-45d4-905f-92df23cacdef",
6+
"photo": "https://s3.amazonaws.com/qsapi-files/files/49851e71-5114-4d94-9d9a-7f3cacb1764e/0f625c2f-7e01-4dd9-b569-f96c1c7b35f6.jpeg",
7+
"title": "Places to Read",
8+
"description": "<p>When you want to get away and read a good eGuide</p>",
9+
"category_eid": "83a5bc0d-bae7-4b3f-b8d9-01c969785783",
10+
"__v": 0,
11+
"_active": true,
12+
"updated_at": "2017-08-03T22:41:26.558Z",
13+
"created_at": "2017-08-03T22:41:26.546Z",
14+
"socialMedia": {
15+
"youtubeChannel": [
16+
""
17+
],
18+
"twitter": [
19+
""
20+
],
21+
"facebook": [
22+
""
23+
]
24+
},
25+
"addresses": [
26+
{}
27+
],
28+
"freeText": [
29+
{}
30+
],
31+
"contactInfo": {
32+
"website": [
33+
"http://www.quickseries.com"
34+
],
35+
"email": [
36+
""
37+
],
38+
"faxNumber": [
39+
""
40+
],
41+
"tollFree": [
42+
""
43+
],
44+
"phoneNumber": [
45+
""
46+
]
47+
}
48+
}
49+
]

0 commit comments

Comments
 (0)