json - Firebase data structure: Attending school on date -
json - Firebase data structure: Attending school on date -
i looking first application using firebase backend.
i have 2 models, school , user. each user can sign date attend school, need date.
a sql table this:
schools: id, name
users: id, name, email
schools_users: id, school_id, user_id, date
what proper way of designing info construction in firebase?
since don't specify requirements, suggest starting naive mapping @ first:
root schools 1: "name of school1" 2: "name of school2" users: 1: { "name": "maeh", "email": "2523229@stackoverflow.com" } 2: { "name": "frank", "email": "209103@stackoverflow.com" } schools_users: 1_1: "20141031" 1_2: "20130102"
json nosql firebase
Comments
Post a Comment