Skip to content

Instantly share code, notes, and snippets.

@Viveckh
Last active August 29, 2019 11:56
Show Gist options
  • Save Viveckh/8e22ffb3fb7631b97b6408495bdfd304 to your computer and use it in GitHub Desktop.
Save Viveckh/8e22ffb3fb7631b97b6408495bdfd304 to your computer and use it in GitHub Desktop.
Dating App - Firebase Realtime Database Schema - Root
{
"rules": {
// default rules are false if not specified
// setting these to true would make ALL CHILD PATHS readable/writable
".read": false,
".write": false,
// We will populate these schemas one by one
"users": {},
"swipes": {},
"matches": {},
"chats": {},
"messages": {}
}
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment