Movatterモバイル変換


[0]ホーム

URL:


Skip to content

Navigation Menu

Sign in
Appearance settings

Search code, repositories, users, issues, pull requests...

Provide feedback

We read every piece of feedback, and take your input very seriously.

Saved searches

Use saved searches to filter your results more quickly

Sign up
Appearance settings
NotificationsYou must be signed in to change notification settings

wentjun/taxi-app

 
 

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

40 Commits
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 

Repository files navigation


Quick Start

  1. Clone (git clone git@github.com:wentjun/taxi-app.git), or directly download this repository.

  2. Install dependencies.

    npm i
  3. Start the application in development mode. Opens the application onhttp://localhost:3000.

    npm start
  4. Due to CORS restrictions from the API endpoint, you may need to install an additional plugin to ensure that the application can run smoothly on localhost.

    If you are running the application on Chrome, simply download a plugin such asthis, which will overwrite CORS headers and perform cross-domain requests.

    If you are running the safari on Safari, enable Developer mode by going to 'Preferences', followed by 'Advanced'. On the 'Develop' section on the top menu, check 'Disable Cross-Origin Restrictions'.


Current Features

  1. Selecting the number of drivers to be rendered on the map. The input can be changed via the range slider, or input text box. Do take note of the zoom levels will result in 'clustering', or 'declustering' of the markers which represent the drivers.

  2. Updating of the user's current location by double clicking on the map.

  3. Viewing of driver's ETA, relative to the user's current location.


Upcoming Features

  1. Implementation of Service Workers and Progressive Web Application for improved performance, and refined experience for mobile users.

  2. Additional option of updating the user's current location using forward, and reverse geocoding.


Credits

  1. Map markers: Icon made bymynamepong fromhttps://www.flaticon.com.

Architecture & Libraries

  1. Main application components
  • React.js, with Presentation and Container components.

  • CSS in JS. This application usesStyled Components for that purpose.

  • Reactive JavaScript (RxJS).

  • Mapbox for rendering of the map.

  1. State Management withRedux. The following additional libraries help to manage the verbosity incurred from integrating TypeScript and RxJS with Redux.

Advanced References & Documentation

For those who are already familiar with React.js, the following resources will greatly help you in implementing TypeScript, Redux, and Reactive JavaScript (RxJS) into your application.

  1. The complete guide to static typing in "React & Redux" apps using TypeScript

About

No description or website provided.

Topics

Resources

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published

[8]ページ先頭

©2009-2025 Movatter.jp