GithubHelp home page GithubHelp logo

conjure-cp / h2a-buses Goto Github PK

View Code? Open in Web Editor NEW
0.0 2.0 0.0 50.98 MB

Home Page: https://conjure-cp.github.io/h2a-buses/

HTML 0.10% JavaScript 0.08% Vue 7.68% CSS 87.47% TypeScript 3.75% Python 0.92%

h2a-buses's Introduction

h2a-buses

Recommended IDE Setup

VSCode + Volar (and disable Vetur) + TypeScript Vue Plugin (Volar).

Type Support for .vue Imports in TS

TypeScript cannot handle type information for .vue imports by default, so we replace the tsc CLI with vue-tsc for type checking. In editors, we need TypeScript Vue Plugin (Volar) to make the TypeScript language service aware of .vue types.

If the standalone TypeScript plugin doesn't feel fast enough to you, Volar has also implemented a Take Over Mode that is more performant. You can enable it by the following steps:

  1. Disable the built-in TypeScript Extension
    1. Run Extensions: Show Built-in Extensions from VSCode's command palette
    2. Find TypeScript and JavaScript Language Features, right click and select Disable (Workspace)
  2. Reload the VSCode window by running Developer: Reload Window from the command palette.

Customize configuration

See Vite Configuration Reference.

Project Setup

npm install

Compile and Hot-Reload for Development

npm run dev

Type-Check, Compile and Minify for Production

npm run build

Lint with ESLint

npm run lint

h2a-buses's People

Contributors

ozgurakgun avatar yurtkulusalih avatar dependabot[bot] avatar

Watchers

 avatar  avatar

h2a-buses's Issues

todos

  • static cache of routes? - Implemented. See #4
  • table to input how many buses of each type per bus line - Implemented. See #4
  • live chart of emissions and cost - Implemented. See #35
  • github pages deployment
  • typescript typed deserialise from file - can we cache and hence avoid calling routing machine again and again - Done and available on the main branch. We store coordinate, totalDistance and totalTime data in localStorage
  • add more buses
  • cache the result of routing machine
  • deploy
  • general documentation of features
  • document: adding new buses
  • document: populating the cache with route info for new buses
  • spread the buses equally when there are multiple buses on a selected route - Implemented. See #35

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.