Table of Contents………………………………………………………………………………………… ii
- FIREBASE – OVERVIEW……………………………………………………………………………… 1
- FIREBASE – ENVIRONMENT SETUP…………………………………………………………….. 3
- FIREBASE – DATA…………………………………………………………………………………….. 6
- FIREBASE – ARRAYS………………………………………………………………………………….. 8
- FIREBASE – WRITE DATA…………………………………………………………………………. 11
Set………………………………………………………………………………………………………… 11
Update…………………………………………………………………………………………………… 12
- FIREBASE – WRITE LIST DATA…………………………………………………………………… 14
The Push Method………………………………………………………………………………………. 14
The Key Method………………………………………………………………………………………… 15
- FIREBASE – WRITE TRANSACTIONAL DATA………………………………………………… 17
- FIREBASE – READ DATA…………………………………………………………………………… 19
- FIREBASE – EVENT TYPES………………………………………………………………………… 23
- FIREBASE – DETACHING CALLBACKS…………………………………………………………. 25
Firebase
- FIREBASE – QUERIES………………………………………………………………………………. 26
Order by Child…………………………………………………………………………………………… 26
Order by Key……………………………………………………………………………………………. 27
Order by Value………………………………………………………………………………………….. 27
- FIREBASE – FILTERING DATA……………………………………………………………………. 30
Limit to First and Last………………………………………………………………………………….. 30
Other Filters…………………………………………………………………………………………….. 31
- FIREBASE – BEST PRACTICES……………………………………………………………………. 33
- FIREBASE – EMAIL AUTHENTICATION……………………………………………………….. 34
Create user………………………………………………………………………………………………. 34
Sign In……………………………………………………………………………………………………. 35
Signout…………………………………………………………………………………………………… 35
- FIREBASE – GOOGLE AUTHENTICATION……………………………………………………. 37
- FIREBASE – FACEBOOK AUTHENTICATION…………………………………………………. 40
- FIREBASE – TWITTER AUTHENTICATION……………………………………………………. 44
- FIREBASE – GITHUB AUTHENTICATION……………………………………………………… 47
- FIREBASE – ANONYMOUS AUTHENTICATION…………………………………………….. 50
- FIREBASE – OFFLINE CAPABILITIES……………………………………………………………. 52
- FIREBASE – SECURITY……………………………………………………………………………… 54
Read and Write…………………………………………………………………………………………. 54
- FIREBASE – DEPLOYING………………………………………………………………………….. 56