Skip to content

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

Notifications You must be signed in to change notification settings

m0kr4n3/mapbox_firebase_react_app

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

11 Commits
 
 
 
 
 
 
 
 
 
 
 
 
 
 

Repository files navigation

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

#/src/mapboxAPItoken.js
module.exports = "put the key here";

and firebase access initialization in /src/firebase.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:

npm install
npm run start

About

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

Topics

Resources

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published