Skip to content

chunlaw/hk-independent-bus-eta

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

86 Commits
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 

Repository files navigation

香港 - 獨立巴士預報

新 repository

此專案已移施到新的 Github,新 Github 將秉持無廣告宗旨,繼續提供巴士線及到站預報資料。

React Test

無廣告的巴士預報站整合了九巴、新巴、城巴和新大嶼山巴士的到站預報,介面清晣直接,力求讓用戶快速獲得所需資訊。

註:本網站一切到站預報資料均來自資料一站通,路線及收費資料來自HK Bus Crawling

資料來源

新巴城巴新大嶼巴士的資料來源和九巴的資料來源分別採用不同格式,本 app 就不同 api 的處理主要集中於 data-api/ 內。

Note

The project is a React web app with Material-UI. You may clone the project and launch it by your own. Please note that there are specific setup in package.json (i.e., homepage) and the Google Analytics Measure ID in public/index.html.

Available Scripts

In the project directory, you can run:

yarn start

Runs the app in the development mode.
Open http://localhost:3000 to view it in the browser.

The page will reload if you make edits.
You will also see any lint errors in the console.

yarn build

Builds the app for production to the build folder.
It correctly bundles React in production mode and optimizes the build for the best performance.

The build is minified and the filenames include the hashes.
Your app is ready to be deployed!

See the section about deployment for more information.

Contributors

Project owner chunlaw is the initiator of the whole project. Anyone is welcome to contribute in it. Other contributors are: lzwn128 cswbrian