This example is using GeoFirestore to store some dummy locations and query nearby locations based on a given geographic location.
You can install GeoFirestore-Sample-Code as follows:
cd folder/to/clone-into/
git clone https://github.com/mostafaaminflakes/GeoFirestore-Sample-Code.git
Make sure to install the following dependencies:
- firebase
- geofirestore
- lodash
Considering your Node, npm, Expo, React Native environment installed:
- Edit the firebase config file located in:
./firestore/FirestoreConfig.js
- Run the application.