Skip to content

The Uber Clone was my first React Native project. The objective for this app was to demonstrate my ability for front-end app design and simulate the “Ride” feature in the Uber app.

Notifications You must be signed in to change notification settings

zaytheDEV/uber-clone

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

9 Commits
 
 

Repository files navigation

Uber Clone

To view video of the app please visit my portfolio linked below
https://zaythedev.com/uber-clone

Stack

  • React Native
  • Expo
  • TailwindCSS
  • Google Places API
  • Google Distance API
  • Instructions for App

    1. Clone the repository
    2. Download XCode or use VS Code and Expo Go to start a virtual mobile simulator
    3. Enjoy the app

    The Uber Clone was my first React Native project. The objective for this app was to demonstrate my ability for front-end app design and simulate the “Ride” feature in the Uber app. With many of the components in this app, I used Tailwind for the inline styling. If a component had many styling attributes, I used a separate style constant to avoid messy inline code. With the styling and advanced features in this clone, it looks and feels very similar to the actual Uber app.

    Success
    With API requests from Google's Places and Directions, I was able to implement address search field. A user can enter any address for their pickup and drop-off location.

    With Redux I was able to manage the users state and render components based off of address entry. After entering an address Redux dispatches a pull request to render the quickest route from the pickup to drop-off location.

    Pulling address data from Google API as in time, latitude and longitude, I was able to properly calculate the total trip. The trip cost consist of the distance, time, and vehicle type.

    Challenges
    The challenging part for this project was styling the components. Using Tailwind made it easier, but their syntax and sizing properties are different from the standard CSS styles. So, throughout the entire project, I had to keep referring to Tailwind’s documentation to convert their sizing units to pixels. After using tailwind for a couple of days, I eventually got used to their sizing properties. I am now able to style apps a lot faster with the help of Tailwind.

    Features

  • Location search auto complete
  • Uber start and ending destination markers
  • View trip route
  • Trip total miles and ETA
  • Vehicle type with adjusted total trip price
  • About

    The Uber Clone was my first React Native project. The objective for this app was to demonstrate my ability for front-end app design and simulate the “Ride” feature in the Uber app.

    Topics

    Resources

    Stars

    Watchers

    Forks

    Releases

    No releases published

    Packages

    No packages published