- Notifications
You must be signed in to change notification settings - Fork1
wentjun/taxi-app
Folders and files
| Name | Name | Last commit message | Last commit date | |
|---|---|---|---|---|
Repository files navigation
Clone (
git clone git@github.com:wentjun/taxi-app.git), or directly download this repository.Install dependencies.
npm iStart the application in development mode. Opens the application onhttp://localhost:3000.
npm startDue 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'.
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.
Updating of the user's current location by double clicking on the map.
Viewing of driver's ETA, relative to the user's current location.
Implementation of Service Workers and Progressive Web Application for improved performance, and refined experience for mobile users.
Additional option of updating the user's current location using forward, and reverse geocoding.
- Map markers: Icon made bymynamepong fromhttps://www.flaticon.com.
- 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.
- State Management withRedux. The following additional libraries help to manage the verbosity incurred from integrating TypeScript and RxJS with Redux.
Usage oftypesafe actions
Handling of effects (also known as 'epics') usingRedux-observables.
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.
About
Topics
Resources
Uh oh!
There was an error while loading.Please reload this page.
Stars
Watchers
Forks
Releases
Packages0
Uh oh!
There was an error while loading.Please reload this page.