Upgrade to Pro — share decks privately, control downloads, hide ads and more …

Firebase 3

Firebase 3

Whats is firebase ? and how to use it and what comes with it, all given answers and more in this presentation delivered in the Algerian Tech Meetup

Houssem Yahiaoui

October 08, 2016
Tweet

More Decks by Houssem Yahiaoui

Other Decks in Technology

Transcript

  1. <script> // Initialize Firebase // TODO: Replace with your project's

    customized code snippet var config = { apiKey: "<API_KEY>", authDomain: "<PROJECT_ID>.firebaseapp.com", databaseURL: "https://<DATABASE_NAME>.firebaseio.com", storageBucket: "<BUCKET>.appspot.com", }; firebase.initializeApp(config); </script> Initialize / Configure <script src="https://www.gstatic.com/firebasejs/3.4.0/firebase.js"></script>
  2. Lets Fill The Gaps 1 – Go to firebase.google.com 2

    – Create an Account 3 – Just Explore & have fun
  3. 1 – Remember To Config : databaseURL: "https://<DATABASE_NAME>.firebaseio.com" 2 –

    Don’t forget the Data Scheme // Spoiler Alert : its on JSON 3 – Define your Data Scheme var Obj : { startTrek : { favActor: “Spock” } }
  4. 1 – Make sure you have Node JS in your

    System. 2 – Install Firebase CLI # npm install -g firebase-tools 3 – Login # firebase login 4 – Initialize & Deploy # firebase init && firebase deploy
  5. Q/A