Giter Site home page Giter Site logo

yunyanggit / ionic2-taxi-app Goto Github PK

View Code? Open in Web Editor NEW

This project forked from ddellamico/ionic2-taxi-app

0.0 2.0 0.0 1.03 MB

Ionic 2 Taxi App - A simple starting point for building 'on-demand/rideshare taxi' ionic application ( something like Uber, Lyft or Sidecar .. )

License: Apache License 2.0

JavaScript 27.00% TypeScript 60.92% HTML 6.98% CSS 5.10%

ionic2-taxi-app's Introduction

Ionic 2 Taxi App

Build Status Commitizen friendly PRs Welcome MIT license Dependency Status devDependency Status

The main purpose for this project, it's provide a simple starting point for building 'on-demand/rideshare taxi' ionic application ( something like Uber, Lyft or Sidecar .. ) or more generally, applications using extensively Google Maps JavaScript API.

When you start the app, you see a map centering around your location, with a marker permanently fixed to the center of map. When the user stop moving the map, an InfoWindow shows the new position. To achieve this, I use google maps geocoder service along with rxjs, that let you easily handle 'OVER_QUERY_LIMIT' response ( API Usage Limits ).

** Build configuration and test setup is heavily inspired from this great Ionic 2 boilerplate, take a look here. **

If you are looking for a more complex and complete Ionic 2 app sample, check out here.

Note: This project is under development.

App Preview

Home Search AutoComplete Confirmation Rides Menu

Features

Install

Make sure you have Node version >= 6.X and NPM >= 3 (node.js version used 7.5.0 and NPM v. 4.1.2)

# Clone the repo
$ git clone https://github.com/ddellamico/ionic2-taxi-app
-----
# change directory to our repo
cd ionic2-taxi-app
-----
# install the repo with yarn
yarn
-----
# restore plugins and platforms
cordova prepare
-----
# start the server (webpack-dev-server)
npm run dev

go to http://0.0.0.0:8100 or http://localhost:8100 in your browser

Commands

$ npm run dev             --> Run ionic serve ( development )
$ npm run build           --> build files inside www folder ( production )
$ npm run test            --> run test with Karma
$ npm run ios:dev         --> start ios simulator (ionic run ios)
$ npm run ios:release     --> build files for ios platform and generate xcodeproj (ionic build ios)
$ npm run android:dev     --> start android simulator (ionic run android)
$ npm run android:release --> build files for android platform and generate apk (ionic build android)

Commit:

Follows AngularJS's commit message convention

# Lint and execute tests before committing code.
npm run commit
# OR
# use git commit directly with correct message convention.
git commit -m "chore(ghooks): Add pre-commit and commit-msg ghook"

Tests

$ npm test

Changelog

You can check the changelog here

Todo

  • Add more test with karma
  • Add protractor (E2E testing)
  • Add HMR

License

MIT

ionic2-taxi-app's People

Contributors

ddellamico avatar miloshavlicek avatar

Watchers

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