Coder Social home page Coder Social logo

driver's Introduction

Driver

Driver é um projeto feito com base em um tutorial, que simula o Uber.

React Native Maps:
- importação: import MapView from 'react-native-maps';
- instalação: npm install react-native-maps

React Native MapsDirections:
- importação: import MapViewDirections from 'react-native-maps-directions';
- instalação: npm install react-native-maps-directions

Place AutoComplete: responsável por buscar e marcar lugares utilizando o mapa do google.
- importação: import { GooglePlacesAutocomplete } from 'react-native-google-places-autocomplete';
- instalação: npm install react-native-google-places-autocomplete --save

Importações necessárias para utilizar o auto complete {
- import * as Location from 'expo-location';
- import * as Permissions from 'expo-permissions'; }

Tela de inicio:

WhatsApp Image 2022-08-05 at 20 56 42

Auto Complete:

image

Distância e preço:

image

O Aplicativo também utiliza uma API que é disponibilizada pelo mercado pago: https://www.mercadopago.com.br/developers/pt. Basta cadastrar-se.
Depois de escolhido o destino, o usuário pode pagar a viagem utilizando o mercadopago, e toda a validação é feita por este.

image

Se aprovado, o usuário é encaminhado para esta tela:

image

driver's People

Contributors

samuelsilva15 avatar

Stargazers

João Pedro Almeida  avatar  avatar MARCOS OLIVEIRA ALEXANDRE avatar Álife 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.