Web google ##Table of contents
##Abstract CRUD example for firebase create, read, update and delete are the four basic functions of persistent storage.
##Tools
- Jquery
- BootStrap
- HTML5
##Description What is Firebase?
Firebase is a real time application platform. It allows developers to build rich, collaborative applications quickly using just client-side code. Applications built with Firebase:
Can be built rapidly Update in realtime out-of-the-box Remain responsive even when a network connection is unavailable
#Reglas de seguridad con las bases de datos de Firebase
##Firebase Rules
{
"rules": {
".read": "auth.uid != null",
".write": "auth.uid != null"
}
}
##Try project On the terminal
python3 -m http.server
".indexOn": ["name", "position","number"]
{
"rules": {
".read": "auth.uid != null",
".write": "auth.uid != null",
".validate":"newData.child('number').isNumber() && newData.hasChildren(['mail','number','position'])"
}
}
{
"rules": {
".read": "data.child('Sergio Brito').child('position').val()=='central'",
".write": "auth.uid != null",
}
}
Tools: node
service firebase.storage {
match /b/vinosvalencia-bd1ef.appspot.com/o {
match /{allPaths=**} {
allow read, write: if request.auth != null;
}
}
}
- Update to GoogleFirebase (/)
- Upload images to firebase Storage (/)
- Upload archives to Firebase Storage (With class FirebaseFileUploader.js with ES2015)
- Show image on table