Skip to content

Granigan/routefinder

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

48 Commits
 
 
 
 
 
 
 
 
 
 
 
 
 
 

Repository files navigation

Edsger Routefinder

An entry to Solidabis Code Challenge.

Technology

  • The project was bootstrapped with Create React App.
  • Material-UI provided some rudimentary styling.
  • Development was done on Visual Studio Code, on MacOS.

Design Philosophy

  • Focus on providing only the necessary functionality to the user. By cutting away any excess (e.g. typing the station), goal is to improve usability and reduce the risk of misunderstanding the functionality.
  • Take advantage of the limited scope to improve usability. Downside is reduced scaleability.

Algorithm

Dijkstra's algorithm is used to find the shortest route between selected stations.

To Do 25.04.2020

  • Align route visualisation
  • Make mobile friendly
  • Add reversal button to swap origin and destination

Concerns

  • Does implementation match the spec. In particular, do bus lines go both ways (spec doesn't mention they would, nor do the graphics indicate this, but if they don't, a host of destinations cannot be reached at all. Thus, an assumption was made that bus lines go both ways.)
  • Lack of colorblind mode potentially makes lines (esp. red and green) indistinguishable
  • Crude appearance
  • Not designed to scale: Should the number of stations grow, it is no longer feasible to have a button for each one.
  • Code architecture is not designed for scaling up. Should the project expand, file and folder system needs to be more structured.

Development

Clone the repository with

git clone [email protected]:Granigan/routefinder.git

Run in localhost:3000 with

npm start

About

Entry to Solidabis Code Challenge 04/2020

Resources

License

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published