Giter Site home page Giter Site logo

ngachili187 / andi-taxi-mobile-app Goto Github PK

View Code? Open in Web Editor NEW

This project forked from maelfosso/andi-taxi-mobile-app

0.0 0.0 0.0 2.02 MB

Clone of some Uber features

C++ 1.65% C 0.28% Objective-C 0.02% Kotlin 0.05% Dart 94.29% Swift 0.17% HTML 0.63% CMake 2.92%

andi-taxi-mobile-app's Introduction

My Portfolio

Andi Taxi (mobile)

clone app of some Uber features

Built With

  • Flutter
  • Dart

Requirements

To run this application, you must have installed

  • Flutter
  • Docker
  • Docker compose

docker and docker-compose are necessary for the backend available at https://github.com/maelfosso/andi-taxi-api

Setup

Follow these steps to launch the application

Step 1: Run the backend

The backend is available at https://github.com/maelfosso/andi-taxi-api. Follow the steps indicated there to run it.

Step 2: Get the IP address of the computer running the backend

You can use ifconfig or ip addr show to get your IP address

Step 3: Clone the repository

git clone https://github.com/maelfosso/andi-taxi-api

Step: Change the directory

cd andi-taxi-api

Step 4: Create an .env file in the root directory of the project

touch .env

Step 5: Add variables into the .env file

The application depends on

  • The backend, so we need the IP address of the host running this one. Remember you wrote it down at Step 2. You refer to it in the env file with the BASE_URL variable.

  • Google Maps, so we need your Google maps API Key. You refer to it into the env file through the GOOGLE_MAPS_API_KEY variable.

At the end, your .env file will look like this

BASE_URL=http://x.x.x.x:3000/api
GOOGLE_MAPS_API_KEY=

Step 6: Run the application

flutter run

Usage

  • Creates an account as client or driver
  • Sign in (keep the code displayed)
  • Enter the code. You have one minute.

Internationalization

The default language of the application is the English. It's possible for you to add a new language.

If you want to add the Russian language for example, here is the process

Step 1: Find the code of the language

The code of the Russian language is **ru**

Step 2: Add the language

Open the lib/main.dart file. In the _AppViewState class, localise the line with

const Locale('en', '')

Add this line below directly after

const Locale('ru', '')

Step 3: Add the language file

Into the folder lib/l10n, create a new file called app_ru.arb.

Copy the content of app_en.arb and modify it with the good content.

Run the app

Please, enable the Location on your smartphone.

Just run the app like usual with flutter run

Run tests

Authors

๐Ÿ“ License

This project is MIT licensed.

Screenshots

screenshot screenshot screenshot

andi-taxi-mobile-app's People

Contributors

maelfosso 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.