Professional Documents
Culture Documents
UberPresentation PDF
UberPresentation PDF
UberPresentation PDF
in React Native
Google Autocomplete
Maps & Directions
We are going to build
Drawer Navigator
(Hamburger menu)
Google Autocomplete
Maps & Directions
Front-end technologies
You will learn
Who am I
Prerequisites
Let’s get started
Home Screen
Home Screen
Home Screen
Search Page
Places Autocomplete
https://www.npmjs.com/package/react-native-google-places-
autocomplete
1. install librar
2. Enable google AP
3. Make sure billing is enable
4. Get API Ke
y
Search Result
Maps
1. install librar
2. Enable google AP
3. Make sure billing is enable
4. Get API Ke
y
Maps Directions
https://www.npmjs.com/package/react-native-maps-directions
Navigation
Import ‘react-native-gesture-handler’
DEMO
Q&A
Uber Clone
in React Native
Part 2
Places Autocomplete
(Custom styles, current location, predefined location, etc.)
We are going to build
Front-end technologies
You will learn
Who am I
I AM
Prerequisites
Starting point
1. Part 1
Starting point
1. Part 1
DEMO Part 1
Let’s get started
🚀🚀🚀
Maps: Marker direction
Places Autocomplete
From To
Places Autocomplete styles
Places Autocomplete Current Location
- Install Geolocation
- Request Permission to use Location
- Use the location in Places autocomplete component
- Add Predefined Location (HOME, WORK) ?
Navigation
Navigation
Navigation
Drawer Navigation
Drawer Navigation
Drawer Navigation
Q&A
React Native AWS Backend
Authentication, GraphQL API
Authentication
GraphQL API
Who am I
I AM
I AM
Prerequisites
1. AWS Account
Starting point
Starting point
DEMO Part 1
Setup AWS Amplify Project
https://docs.amplify.aws/start/q/integration/react-native
$ amplify init
Authentication
How does it work?
Cognito
How does it work?
Cognito
Cognito DynamoDB
AppSync
Cognito DynamoDB
AppSync
Cognito DynamoDB
2. If there is no user,
CreateUser(id: sub, name, email,….) AppSync
- Manual configuration
- Setup Lambda Triggers: Post confirmation
- Create own module
- Configure App.js
GraphQL API
GraphQL API
GraphQL API
I AM
Q&A
Uber Driver App
React Native & AWS AMPLIFY
I AM
I AM
Prerequisites
Starting point
1. User App
Starting point
1. User App
Didn’t follow the User app builds, but want to follow along now?
2. Clone the repo: https://github.com/Savinvadim1312/UberClone/tree/part-3
3. Create a google developer account, create a project, and enable all these APIs
4. Get an API key from Credentials page, and replace the old API key from the whole
project, with your new API key (5 files)
5. Install all the libraries
6. Run the project
Let’s get started
Maps
1. install librar
2. Enable google AP
3. Make sure billing is enable
4. Get API Ke
y
Maps Directions
https://www.npmjs.com/package/react-native-maps-directions
Home Screen
Complete Ride
Next week, Friday at 3PM GMT
Q&A
Uber Clone
React Native & AWS Amplify
Who am I
I AM
Prerequisites
Starting point
Starting point
Didn’t follow the User app builds, but want to follow along now?
2. Clone the repo: https://github.com/Savinvadim1312/UberClone/tree/part-4
3. Create a google developer account, create a project, and enable all these APIs
4. Get an API key from Credentials page, and replace the old API key from the whole
project, with your new API key (5 files)
5. Install all the libraries
6. Initialise and Deploy the amplify backend
7. Run the project
Configure Amplify in Driver App
Configure Authentication
Configure Authentication
Orders
1. when we open the driver app query existing orders (only unfulfilled orders).
2. Confirm order (update the carId and status of the order)
3. Subscribe to new Orders
- Create the order page (a map, with the position of the car
- Subscribe to car position updates
)
Q&A