Sample State - mmdurnin/TableFor2 GitHub Wiki

{
    entities: {
      restaurants: {
        1: {
          id: 1,
          name: "Cheesecake Factory",
          summary: "Popular San Francisco chain with delicious cheesecakes and generous portions",
          city_id: 1,
          pricing: 3,
          hours: 'm-f, 12pm-10pm',
          dress_code: casual,
          address: "",
          neighborhood: "Civic Center",
          phone_number: "415-826-5233",
          website: "www.maureensEats.com"
          
        },
        2: {
          id: 2,
          name: "The Italian Homemade Company",
          summary: "Delicious Italian joint. The pasta is actually homemade!",
          city_id: 1,
          pricing: 1,
          hours: 'm-f, 12pm-10pm',
          dress_code: casual,
          address: "",
          neighborhood: "Noe Valley",
          phone_number: "415-333-3333",
          website: "www.madeInItalia.com"
        }
      },
      user: {
        id: 23,
        name: "Maureen",
        email: "[email protected]"
      },
      cities: {
        1: {
            id: 1,
            name: "San Francisco",
            state: "California"
        },
        2: {
            id: 2,
            name: "Chicago",
            state: "Illinois"
        },
      },
      favorites: {
          1: {
            id: 1,
            retaurant_id: 35,
            user_id: 2
          }
      },
      reservations: {
          5: {
              id: 5,
              restaurant_id: 90,
              user_id: 2,
              starts_at: 1/2/19, 13:00PST,
              num_guests: 2
          }
      },
      reviews: {
          7: {
              id: 7,
              restaurant_id: 3,
              user_id: 4,
              rating: 2,
              body: "extra star for the friendly waitress but the food was still cold. Groooose."
            }
      },
      cuisine_types: {
          1: {
              id: 1, 
              name: "Italian",
          },
          2: {
            id: 2, 
            name: "Sushi",
          },
        },
       restaurant_cuisines: {
          14: {
            id: 14,
            cuisine_id: 1,
            restaurant_id: 3
          }
       },
    },
    ui: {
      loading: true/false
    },
    errors: {
      login: ["Incorrect username/password combination"],
    },
    session: { currentUserId: 23 }
  }