Coder Social home page Coder Social logo

thegera4 / uber-clone Goto Github PK

View Code? Open in Web Editor NEW
0.0 1.0 0.0 833 KB

Uber clone in react-native

JavaScript 100.00%
javascript react react-native react-native-elements react-navigation redux-toolkit tailwind google-directions-api google-matrix-api googleplaces-api

uber-clone's Introduction

uber-clone

This is a small uber-clone. It was made to practice react-native. I used the following tools for this project:

  • Google Places Api
  • Directions API
  • Distance Matric API
  • React native elements toolkit
  • Tailwind css
  • Redux Toolkit

In the home screen, you will find an input that uses the Google Places API, to fetch the data of the places similar to the user input (autocomplete). This input value sets the origin of the user. It also has validation (if you do not input a place, you can not select from the possible options):

homescreen validationhome googleplacesautocomplete

If you click on the "Get a ride" option button, you will navigate to the next screen, where you will find a fully functional map, provided by the react-native-maps API.

In this screen you have another input that also uses the google places api to autocomplete the destination value. There is also a hamburguer icon that allows you to navigate back to the home screen.

Finally when you select a destination, the map is updated with the distance calculation, as well as the price is shown in the screen.

mapview distance distancexl

uber-clone's People

Contributors

thegera4 avatar

Watchers

 avatar

Recommend Projects

  • React photo React

    A declarative, efficient, and flexible JavaScript library for building user interfaces.

  • Vue.js photo Vue.js

    ๐Ÿ–– Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.

  • Typescript photo Typescript

    TypeScript is a superset of JavaScript that compiles to clean JavaScript output.

  • TensorFlow photo TensorFlow

    An Open Source Machine Learning Framework for Everyone

  • Django photo Django

    The Web framework for perfectionists with deadlines.

  • D3 photo D3

    Bring data to life with SVG, Canvas and HTML. ๐Ÿ“Š๐Ÿ“ˆ๐ŸŽ‰

Recommend Topics

  • javascript

    JavaScript (JS) is a lightweight interpreted programming language with first-class functions.

  • web

    Some thing interesting about web. New door for the world.

  • server

    A server is a program made to process requests and deliver data to clients.

  • Machine learning

    Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.

  • Game

    Some thing interesting about game, make everyone happy.

Recommend Org

  • Facebook photo Facebook

    We are working to build community through open source technology. NB: members must have two-factor auth.

  • Microsoft photo Microsoft

    Open source projects and samples from Microsoft.

  • Google photo Google

    Google โค๏ธ Open Source for everyone.

  • D3 photo D3

    Data-Driven Documents codes.