Sample State - m3ghdad/Architekt GitHub Wiki

entities: {

  author: {
    name: "Author's name",
    stories: ["Array containing the author's stories"],
    image_url: "self-explanatory",
    email: "Author's email address"
  },

  story: {
    title: "Title of the story",
    body: "Content of the story",
    image_url: "self-explanatory",
  },

  like: {
    user_id: "self-explanatory",
    story_id: "self-explanatory",
  },

  comment: {
    user_id: "self-explanatory",
    story_id: "self-explanatory",
    body: "Content of the comment",
  },

  user: {
   user_id: {
    id: 1, 
    email: "[email protected]",
    profile_img: 'url' 
   }
  }
 }

 errors: {}

 ui: {}

 session: {
  id: 1,
  email: "[email protected]",
  profile_img: 'url'
 }

}