We have used google maps api for displaying maps, calculating distance, markers ..etc. so we need to create google maps api key & update required files before starting remaining setup.
Step 1: Create new project
- Login to https://console.developers.google.com/projectcreate with your google account
- create new project
Step 2: Create API key
- Navigate to your current project & goto to API settings https://console.developers.google.com/apis/dashboard
- Goto Credentials & Create New API Key
Step 3:
Once you created API key, you need to update with following files
- Driver/src/index.html
- Rider/src/index.html
Step 4: Enable All Required API
Navigate to library & choose google maps (view all) & enable all Required API’s
- Direction
- Distance Matrix
- Geocoding
- Geolocation
- Maps Embed
- Maps JavaScript
- Maps Places (aka Places API)
Important Update: Google Maps free API allows only one request / min. So must verify your credit card with Google Billing (https://console.developers.google.com/billing/) to avoid these errors.
Please visit for more info: https://cloud.google.com/maps-platform/pricing/
Stripe Setup
- Create an account with http://stripe.com/
- Once you created account, get your key from stripe
- Update your
rider/src/index.html
- Update
fcf1/index.js