Sample State - skygit97/ConnectMe GitHub Wiki
{
entities: {
users: {
1: {
id: 1,
email: "[email protected]",
first_name: "Sky",
last_name: "Kumtong",
birthday: "1997-04-18",
gender: "Male"
},
2: {
id: 2,
email: "[email protected]",
first_name: "Demo",
last_name: "User",
birthday: "2000-01-01",
gender: "Other"
}
},
posts: {
1: {
id: 1,
authorId: 1,
content: "Try ConnectMe!",
}
},
comments: {
1: {
id: 1,
authorId: 2,
content: "I totally agree. Try ConnectMe!",
}
},
likes: {
1: {
id: 1,
likerId: 2,
postId: 1
}
}
},
session: {
id: 1
},
errors: {
login: ["The email and/or password combination isn't connected to an account. Please try again."],
signup: ["Please enter your first name."]
},
ui: {
loading: true/false,
modal: true/false
}
}