An open API service indexing awesome lists of open source software.

https://github.com/m0kr4n3/mapbox_firebase_react_app

a ReactJS app using MapBox and Firebase to show position in maps
https://github.com/m0kr4n3/mapbox_firebase_react_app

firebase firebase-database mapbox reactjs

Last synced: about 2 months ago
JSON representation

a ReactJS app using MapBox and Firebase to show position in maps

Awesome Lists containing this project

README

          

# a ReactJS app using MapBox and Firebase to show position in maps

a reactJS applcation that uses Mapbox maps provider to show position, integrated with firestone database.

It has 2 options:

1. Realtime position. (simultaneously changing position)
2. History position. (where it consumes many positions of a path for exemple, and we control
it with a slider, like watching a video)

It needs a mapbox API access token, put in /src/mapboxAPItoken.js
```js
#/src/mapboxAPItoken.js
module.exports = "put the key here";
```

and firebase access initialization in /src/firebase.js
```js
#/src/components/firebase.js
import firebase from 'firebase';

firebase.initializeApp({
apiKey: "",
authDomain: "",
projectId: "",
storageBucket: "",
messagingSenderId: "",
appId: "",
measurementId: ""
});
export default firebase;
```

To run the app:
```bash
npm install
npm run start
```