Sample State - MiDeshay/SpaceBook GitHub Wiki

{ 
    entities: {
        users:{
            1:{
               id: 25,
               firstName: 'Michael',
               lastName: 'Deshay',
               email: '[email protected]'
               friends: [22,23,24,26]
         }
        },
        posts: {
             1: {
                id: 1,
                content: "What is order?",
                posterId: 25
             }

        },
        comments: {
             1: {
                id: 1,
                body: "Rules that bring about harmony.",
                postId: 1,
                commenterId: 26
             }, 
             2: {
                id: 2,
                body: "A mode of existence guided by love.",
                postId: 1,
                commenterId: 24
             },
             3: {
                id: 3,
                body: "The secret ingredient to fun!",
                postId: 1,
                commenterId: 22
             }
        },
        likes: {
             1: {
                id: 1,
                likeableId: 3,
                likeableType: "comment",
                userId: 25
             }
        },
        newsFeed: {
             1: {
                id: 1,
                userId: 25,
                postId: [1]
             }
        }

    },
    session: {
       currentUser: 25
    },
    ui: {
       loading: false
    },
    errors: {
       login: ["Invalid username/password"]
    }

}