Skip to content

Instantly share code, notes, and snippets.

View christianrolle's full-sized avatar
🏠
Working from home

Christian Rolle christianrolle

🏠
Working from home
View GitHub Profile

Evopark Coding Challenge – Trainline Connections UI

Goal

Build a Single Page Application (SPA) using a modern frontend framework (Vue.js, Svelte, or React) that displays train connections between two cities using thetrainline.com as a data source.

Note: Candidates can either:

  • Use a public Trainline API if accessible, or
  • Use a local JSON file simulating real train connection data.

Keybase proof

I hereby claim:

  • I am christianrolle on github.
  • I am christianrolle (https://keybase.io/christianrolle) on keybase.
  • I have a public key ASA6WW3_DYpdclK6_tS5M4ISqJdlGumYL58vqkeNSQdCqgo

To claim this, I am signing this object:

module Humanizable
attr_accessor :name
end
require 'active_record'
require 'jc-validates_timeliness'
require 'shoulda/matchers'
Dir[File.dirname(__FILE__) + "/support/**/*.rb"].each {|f| require f}
connection_info = YAML.load_file("config/database.yml")["test"]
ActiveRecord::Base.establish_connection(connection_info)
RSpec.configure do |config|