Code Monkey home page Code Monkey logo

web-ui's Introduction

RoataWăy web interface

It assumes you have npm installed. This is how you get started:

  1. Clone the git repo and switch into the freshly checked out directory
  2. npm install - to install all the dependencies
  3. npm start - to run the app in the development mode on http://localhost:3000
  • npm run build - Builds the app for production to the build folder.

Preparing route meta-data

The information is taken from OpenStreetMap, which conveniently groups all public transport in Chișinău into a relation, its id is 6726484.

Here is the process, so far it was done manually, we shall consider automating it in the future:

  1. Go to https://www.openstreetmap.org/relation/6726484
  2. Note the column on the left, it contains a list of relations, each corresponding to a route. The routes cover minibuses, buses and trolleybuses. In this project we got started with trolleybuses.
  3. Copy-paste the list into a text editor and use search/replace functionality to transform the list.
  4. Save the result into data/routes.csv

File formats

CSV is chosen because it is easier to manage than JSON (fewer commas and braces), and can potentially be edited directly by RTEC, so they themselves can contribute to the system in the future and provide fresh updates.

It can also be transformed into JSON, using automated means. For details about specific files, see data/readme.md.

web-ui's People

Contributors

iamandrewluca avatar roata avatar hendaoui avatar pedramp avatar vlad-stratulat avatar zilehuda 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.