caioariede / uber-react

Uber-like project in React Native

Home Page:https://www.slideshare.net/caio.ariede/react-native-developing-an-app-similar-to-uber-in-javascript

Geek Repo:Geek Repo

Github PK Tool:Github PK Tool

uber-react

Uber-like project in React Native

configuration

File: .env Create a .env file with the following settings:

apiKey = "<firebase config>"
authDomain = "<firebase config>"
databaseURL = "<firebase config>"
storageBucket = "<firebase config>"
messagingSenderId = "<firebase config>"
mapBoxAccessToken = "<Access Token for MapBox Directions API>"

All these credentials you get from either Firebase or MapBox websites.

File: fake_drivers/serviceAccountCredentials.json

Get it from Firebase Service Accounts:

https://console.firebase.google.com/project/_/settings/serviceaccounts/adminsdk

running

react-native run-ios

For the fake drivers:

cd fake_drivers
pip install -r requirements.txt

then

python fake_drivers.py <your latitude>,<your longitude>

Do not forget to place the serviceAccountCredentials.json file in the same directory as described in the installation section

About

Uber-like project in React Native

https://www.slideshare.net/caio.ariede/react-native-developing-an-app-similar-to-uber-in-javascript


Languages

Language:JavaScript 63.6%Language:Objective-C 16.7%Language:Python 14.1%Language:Java 5.6%