Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Add API endpoints for stations #2

Open
ston1x opened this issue Feb 26, 2020 · 1 comment
Open

Add API endpoints for stations #2

ston1x opened this issue Feb 26, 2020 · 1 comment

Comments

@ston1x
Copy link

ston1x commented Feb 26, 2020

  • GET /stations/ - list of all stations
  • GET /stations/:id - detailed info for a particular station
@roata
Copy link
Member

roata commented Feb 26, 2020

It would be valuable. However, at this point we have no information about stations. In my opinion, the starting point should be the design of a data structure where this info is kept and how these structures relate to other entities.

For example

  • stations are an ordered list
  • some stations belong to several routes

A lot of this information can be taken from OpenStreetMaps, but before we do that - we need to make a plan about what to do with it.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

2 participants