-
Notifications
You must be signed in to change notification settings - Fork 0
State Shape
Gregory Del Carlo edited this page Feb 3, 2021
·
11 revisions
`{
entities: {
users: {
1: {
id: 1,
username: "Sample_user",
password_digest: "AUHHF4623BB34738H",
location: "San Francisco"
},
2: {
id: 2,
username: "Better_user",
password_digest: "IUGHH8498HIUH742",
location: "New York"
}
},
whiskey: {
3: {
id: 3,
name: "Bulleit Rye",
type: "Rye",
ABV: 45,
proof: 90,
description: "Kentucky- Enters with soft mouthfeel. Mild tobacco and some cherry notes hit first.
Mid-palate the rye becomes buttery smooth and well rounded between the sweet and spicy
characteristics. This is an incredible sipper straight or on the rocks or mixed in a Manhattan.",
distillery: "Bulleit",
reviewIds: [1, 7, 4]
}
},
reviews: {
7: {
id: 7,
rating: 6.7,
body: "Pretty sure I found god at the bottom"
pour: "on the rocks",
location: "The Deep End"
whiskeyId: 3,
userId: 1,
commentIds: [1, 3, 5],
cheersIds: [3, 7, 9]
},
comments: {
3: {
id: 3,
body: "Starting the search",
reviewId: 7,
user_id: 1
}
},
whiskeyLists: {
2: {
id: 2,
name: "Favorite Whiskeys",
user_id: 1
}
},
cheers: {
9: {
id: 9,
userId: 2,
reviewId: 7
}
},
friendships: {
1: {
id: 1,
user1_id: 1,
user2_id: 2
}
},
likedWhiskeys: {
1: {
id: 1,
drink_id: 3,
list_id: 2
}
}
},
ui: {
},
session: {
},
errors: {
}
}`