How to use geofire - 7 common examples

To help you get started, we’ve selected a few geofire examples, based on popular ways it is used in public projects.

Secure your code as it's written. Use Snyk Code to scan source code in minutes - no build needed - and fix issues immediately.

github zoozTech / community-developers / src / helpers / firebase.js View on Github external
import "firebase/auth";
import "firebase/storage";
import "firebase/database";
import GeoFire from "geofire";
var config = {
  apiKey: process.env.REACT_APP_API_KEY,
  authDomain: process.env.REACT_APP_AUTH_DOMAIN,
  databaseURL: process.env.REACT_APP_DATABASE_URL,
  projectId: process.env.REACT_APP_PROJECT_ID
};

firebase.initializeApp(config);

export const ref = firebase.database().ref();
export const firebaseAuth = firebase.auth;
export const geoFire = new GeoFire(ref);
export default firebase;

geofire

Location-based querying and filtering using Firebase

MIT
Latest version published 2 years ago

Package Health Score

57 / 100
Full package analysis

Popular geofire functions