Skip to content

Instantly share code, notes, and snippets.

@ocwang
Created July 24, 2017 20:23
Show Gist options
  • Star 0 You must be signed in to star a gist
  • Fork 0 You must be signed in to fork a gist
  • Save ocwang/5deb4e36bca1ac7f757cf1f45b8dd426 to your computer and use it in GitHub Desktop.
Save ocwang/5deb4e36bca1ac7f757cf1f45b8dd426 to your computer and use it in GitHub Desktop.
example-json-tree
events: {
uid_one: {
eventId: {
title: "Example Event",
details: ...
owner: {
uid: uid_one,
username: username
}
}
},
uid_two: {...}
},
invitations: {
eventId: {
uid_two: {
invitee: {
uid: uid_two,
username: username
},
is_attending: false
}
}
},
userEvents: {
uid_two: {
eventId: true,
eventId: true,
eventId: true
}
}
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment