zero-to-mastery / mappypals

An abandoned student led project. Reach out on Discord if you would like to revive the project!
MIT License
56 stars 77 forks source link

Map Interaction #133

Open mubarakshow opened 5 years ago

mubarakshow commented 5 years ago
asishkr123 commented 5 years ago

@mubarakshow can i be assigned to this

asishkr123 commented 5 years ago

@mubarakshow hi, i wanted to know where and how to get access to the firebase credentials which are used. the app shows an error like this : message : "Your API key is invalid, please check you have copied it correctly." sorry, i am new and unaware of all these things so any guidance will be appreciated

mubarakshow commented 5 years ago

@asishkr123 sorry for the late reply. been off for a while. please find the keys below. Thanks These details should be included in a .env file

API_PORT=3002
DOMAIN=http://localhost
REACT_APP_API_URL=$DOMAIN:$API_PORT
REACT_APP_FB_SDK_URL=https://connect.facebook.net/en_US/sdk.js
REACT_APP_MAPBOX_API_URL=https://api.mapbox.com/geocoding/v5/mapbox.places/
REACT_APP_TOKEN=pk.eyJ1Ijoic2Npb3J0aW5vbXJjIiwiYSI6ImNqc2RocmRzYTB2OGUzeWxuZDNmdDhrcDgifQ.txLXHEJPl4lYa8an6fcjuA
REACT_APP_ID=1234567890

FIREBASE_API_KEY: AIzaSyBxF4aFU5tnNeF2Jwa_8q7x9kuNUhtCIKA
FIREBASE_AUTH_DOMAIN: mappypals.firebaseapp.com
FIREBASE_DATABASE_URL: https://mappypals.firebaseio.com
FIREBASE_PROJECT_ID: mappypals
FIREBASE_STORAGE_BUCKET: "mappypals.appspot.com
FIREBASE_MESSAGING_SENDER_ID: 62239847561
FIREBASE_APP_ID: 1:62239847561:web:e9a46468b4d8a111