-
Notifications
You must be signed in to change notification settings - Fork 0
Sample State
Jonathan Bae edited this page Dec 12, 2019
·
15 revisions
{
entities: {
users: {
1: {
id: 1,
full_name: "jonathan bae",
hobby_ids: [1, 3, 4],
thing_ids: [5, 7, 8],
aboutme: "I am a photographer",
review_ids: [13,24,35]
},
},
hobbies: {
1: {
id: 1,
name: "Watches",
description: "a community for people who enjoy the design aspects, accuracy, history and novelty of timepieces.",
thing_ids: [1]
},
2: {
id: 2,
name: "Writing",
description: "a community for people who enjoy writing as a hobby. our community includes things like pens, journals, etcetera",
thing_ids: [3]
},
3: {
id: 3,
name: "Technology",
description: "community based around the modern advancements in technology",
thing_ids: [2]
}
},
things: {
1: {
id: 1,
name: "Rolex Daytona Yellow Gold",
price: 12,
description: "a cheap watch for everyday wear",
review_ids: [5, 6]
},
2: {
id: 2,
name: "Pickup ESC Keyboard",
price: 1000,
description: "hotswappable switches make sure you never need to buy a keyboard again",
review_ids: [2, 3]
},
3: {
id: 3,
name: "Rotring600",
price: 35,
description: "an everyday carry pen that writes smoothly",
review_ids: [1]
}
},
reviews: {
1: {
id: 1,
stars: 3,
body: "uncomfortable on wrist and the clasp was broken upon delivery",
thing_id: 3,
user_id: 14
},
2: {
id: 2,
stars: 5,
body: "best keyboard I have ever used",
thing_id: 2,
user_id: 43
},
3: {
id: 3,
stars: 4,
body: "the pen came with horrible ink but after switching to a quinnflow, the pen was comfortable and wrote smoothly",
thing_id: 2,
user_id: 44
}
}
}
}