This was a project originally made for Software Construction undergraduate course (2012) at Universidad de Viña del Mar.
Merval (Metro Valparaíso) is a train/metro system that travels between Valparaíso to Limache.
The software must provide the following features.
Given the current hour, day, destination and origin the software must return the nearest train that will travel from origin to destination.
Given the hour, day, origin, destination and user category the software must return the total travel cost.
-
Return the total travel time.
-
Show a list of near trains.
-
Show the prices for the other user categories.
-
Alert the user when a train is near the station.
-
Enable the user to set a default origin, destination.
-
Other quality of life improvements.
Detailed documentation is available (in Spanish) at docs directory. An example implementation was made using XCode for iPhone devices, available at example.
Some csv files and a sqlite database are provided with all the needed data to implement this software, available at data. For React projects you can use AlaSQL. Data is available as trener.json or trener.js.
Implement this software in the stack that you are most proficient. Maybe a website with React or an app with React Native.