Skip to content

Latest commit

 

History

History
50 lines (29 loc) · 1.91 KB

README.adoc

File metadata and controls

50 lines (29 loc) · 1.91 KB

Trener Project Challenge

This was a project originally made for Software Construction undergraduate course (2012) at Universidad de Viña del Mar.

Merval Metro System

Merval (Metro Valparaíso) is a train/metro system that travels between Valparaíso to Limache.

Requirements

The software must provide the following features.

Must: Return the next train

Given the current hour, day, destination and origin the software must return the nearest train that will travel from origin to destination.

Must: Return the total travel cost

Given the hour, day, origin, destination and user category the software must return the total travel cost.

Should: Optional Requirements

  • 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.

Example

Tr5nr in iOS

Documentation

Detailed documentation is available (in Spanish) at docs directory. An example implementation was made using XCode for iPhone devices, available at example.

Database

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.

Challenge

Implement this software in the stack that you are most proficient. Maybe a website with React or an app with React Native.

Made with by Ninjas.cl.