Skip to content

carlosazaustre/pixelscamp-firebase-ml

Repository files navigation

Cloud Functions and Machine Learning APIs - PixelsCamp 2018 Talk

Requirements

Libraries Used

  • Vue.js v2
  • Firebase (Storage, Database and Functions)
  • Google-Cloud/Vision
  • Browserify with Vueify and Babelify (babel-preset-env) to transpiling
  • Yarn as Package Manager

Setup

  1. Create a Firebase project on Firebase Console
  2. Enable Cloud Storage for Firebase
  3. Enable public access to Cloud Storage for Firebase in your project
service firebase.storage {
  match /b/{bucket}/o {
    match /{allPaths=**} {
      allow read, write;
    }
  }
}
  1. Enable public access to read in RealTime Database
{
  "rules": {
    ".read": "true",
    ".write": "auth !== null"
  }
}
  1. Enable Cloud Vision API in Google Cloud Console for your project (Requires enable Billing)

License

MIT (c) 2017 Carlos Azaustre