A Firebase storage backend for Mavo
- Sign in with your Google account (or create a new account) at https://console.firebase.google.com/
- Create a new project and click Add Firebase to your web app. You'll see a code snippet that looks similar to the one below (with the parameters automatically filled in). Copy and paste this code into your HTML file.
<scriptsrc="https://www.gstatic.com/firebasejs/3.8.0/firebase.js"></script><script>// Initialize Firebasevarconfig={apiKey: "%API-KEY%",authDomain: "%AUTH-DOMAIN%",databaseURL: "%DATABASE-URL%",projectId: "%PROJECT-ID%",storageBucket: "%STORAGE-BUCKET%",messagingSenderId: "%MESSAGING-SENDER-ID%"};firebase.initializeApp(config);</script>Use the Firebase plugin by including the mv-storage attribute with the parameter firebase.
<sectionmv-app="firebasetest"mv-storage="firebase"><table><tr><td><ul><liproperty="country"mv-multiple><spanproperty="code">Code</span><spanproperty="name">Name</span></li></ul></td></tr></table></section>