Sample state - pauchye/ASTRA GitHub Wiki

{
entities: {  
    user: {  
     1: {  
       id: 1,
       username: pauchye,
       picture: some_pic, 
       workouts: [1, 2],
       routes created: [1]
     },
     2: {
       id: 2,
       username: someone,
       picture: some_pic, 
       workouts: [3],
       routes created: []
     }
   },
   workouts: {
     1: {
       id: 1,
       user_id: 1,
       title: "night bike", 
       route id: 1
     },
     2: {
       id: 2,
       user_id: 1,
       title: "bike to work", 
       route id: (optional)
     },
     3: {
       id: 3,
       user_id: 2,
       title: "morning run", 
       route id: (optional)
     }
   },
   routes: {
     1: {
       id: 1,
       user_id: 1,
       title: "south loop", 
       workouts: [1, 2]
     }
   }
 },
 ui: {
     loading: true/false
   },
 errors: {
     login: ["Incorrect username/password"],
     workout: ["Title cannot be blank"],
   },
 session: { currentUserId: 1 }
 }