Skip to content

alt-ctrl-dev/public-transport-verspaetung-api

Repository files navigation

API for the Public Transport of Verspaetung

Build Status

Problem

In the fictional city of Verspaetung, public transport is notoriously unreliable. To tackle the problem, the city council has decided to make the public transport timetable and delay information public, opening up opportunities for innovative use cases. You are given the task of writing a web API to expose the Verspaetung public transport information. As a side note, the city of Verspaetung has been built on a strict grid - all location information can be assumed to be from a cartesian coordinate system.

Assumptions

  • Timezones are not considered
  • X & Y of the stops information are based on a planar system (in this city, the earth is flat)
  • Time will always be in the format HH:MM:SS
  • Delays are considered as minutes
  • Stop IDs are unique to X and Y

How to run the program

  1. git clone git@github.com:reubenkcoutinho/public-transport-verspaetung-api.git
  2. yarn
  3. yarn start

How to test

This will check for standard style guide and run the necessary unit tests

  1. git clone git@github.com:reubenkcoutinho/public-transport-verspaetung-api.git
  2. yarn
  3. yarn test

Challenge

Added challenge info challenge.md

About

Creating APIs for public transport of the fictional city of Verspaetung

Topics

Resources

Stars

Watchers

Forks

Releases

No releases published

Packages

 
 
 

Contributors