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.
- 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
git clone [email protected]:reubenkcoutinho/public-transport-verspaetung-api.git
yarn
yarn start
This will check for standard style guide and run the necessary unit tests
git clone [email protected]:reubenkcoutinho/public-transport-verspaetung-api.git
yarn
yarn test
Added challenge info challenge.md