pauldambra / visitPlannr

My attempt at The LateRooms Group full-stack task

Geek Repo:Geek Repo

Github PK Tool:Github PK Tool

Visit Planner for LateRooms interview

NB Only tested with NodeJS 4.4.5 on Mac OS

Task

The description from github is included below

#The LateRooms Group full-stack task

Please take as much time as you see appropriate to tackle this task. Your solution will be the basis for a discussion during our interview.

##The task

The aim of the kata is to create a basic application to allow a user to record a list of cities they would like to visit. The initial list should be served up from an endpoint that you create and should use the following JSON data:

[
  {
    "City": "Manchester",
    "Country": "UK",
    "Attractions": ["football", "bars"]
  },
  {
    "City": "Liverpool",
    "Country": "UK",
    "Attractions": ["football", "bars", "music"]
  },  
  {
    "City": "York",
    "Country": "UK",
    "Attractions": ["city walls", "cathedral"]
  },
  {
    "City": "Las Vegas",
    "Country": "USA",
    "Attractions": ["casinos","Grand Canyon","shows"]
  },
  {
    "City": "Beijing",
    "Country": "China",
    "Attractions": ["Great Wall of China", "Forbidden City"]
  }
]

You should then create a basic web application and add as many of the following pieces of functionality as you have time to:

  • Retrieve the cities from the endpoint you created and list them along with their country and attractions
  • Ability to add a new city to the list
    • * Provide basic validation
  • Allow a user to mark a city as visited/unvisited
  • Show a visual counter of the number of cities visited/unvisited
  • Filter the cities by visited state (i.e. visited or unvisited)
  • Sort the cities by visited state (i.e. visited or unvisited)
  • Search for city by attraction or country

You should aim to complete as many of these things as possible, demonstrating a good understanding of architecture, design and best practice. Testing methodologies (TDD and/or BDD) should be used.

About

My attempt at The LateRooms Group full-stack task


Languages

Language:JavaScript 78.2%Language:HTML 17.4%Language:CSS 4.4%