Sample State - guanw88/EventFul GitHub Wiki

{
  entities: {
    events: {
      1: {
        id: 1,
        date: 2019-01-01
        eventName: "New Year's Party at App Academy",
        startTime: 13:00,
        endTime: 19:00,
        address: "123 Main Street",
        city: "San Francisco", 
        state: "CA", 
        zip: "12345",
        numTicketsAvailable: 100,
        description: "Join us at App Academy to celebrate the New Year!",
        imageUrl: "http://test.com/image.png",
        privateEventYN: true,
        categories: ["Concert", "Free"]
      },
      2: {
        ...
      },
      3: {
        ...
      }
    },
    tickets: {
      840: { 
        id: 840, 
        orderNo: 20190101238458,
        purchaseDate: 2018-11-23,
        purchasePrice: 20.00, 
        confirmationCode: AJFLKAJSD
      }
    }
    users: {
      11: {
        id: 11,
        username: "eventgoer1029",
        firstName: "John", 
        lastName: "Doe",
        email: "[email protected]"
      },
      25: {
        ...
      }
    },
    currentUserPurchases: {
       11: {
         id: 11,
         userId: 5,
         ticketId: 18
       },
       ...
    },
    currentUserBookmarks: {
       8: {
         id: 8,
         userId: 5,
         eventId: 18
       },
       ...
    }
  },
  ui: {
    loading: true/false
  },
  errors: {
    login: ["Incorrect username/password combination"],
    eventForm: ["Description cannot be blank", "Invalid date"],
    purchaseForm: ["Sorry, only two tickets are left."]
  },
  session: { currentUserId: 11 }
}