Skip to content

StephanMusgrave/GoogleSearch

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

10 Commits
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 

Repository files navigation

#Google Search A technical test to develop a system to search google images based on a user selecting a coloured square.

Development in progress - not yet completed

Remaining features:

  • coloured boxes
  • google search API or equivalent for colour + noun ie "Red" + "Mountain"
  • multiple url's - separate table
  • figaro to protect secret AP key(s)
  • bootstrap formating
  • unit tests (rspec)
  • navbar

Developed by

Steve Musgrave

Technologies used

Technology Used for
Ruby 2.1.2 Main programming language
Ruby on Rails 4.1.1 Model View Controller Framework
Heroku Deployment: App on Heroku
Apple Mac and OS X 10.9.4 Hardware

How to run the program:


####GoogleSearch

Live on Heroku | Github Repo


From your terminal:

To run the unit tests:

$ git clone https://github.com/StephanMusgrave/GoogleSearch

$ cd GoogleSearch

$ rspec

Logic:

Project Brief:

Create an site that searches google images based on a user selecting a coloured square.

Prep-Intro: 5 mins

Development Time: 2 hrs for Junior devs increase this to 3 hrs for Senior devs reduce this to 1hr 30 mins

Code Review & Walkthrough: 20 mins

Interviewer Notes: This is an open test. Interviewee can use their own tools, libraries, books or internet sources to complete this task. Failure here is just as good as completing, we are looking to understand a coders ability to talk about what they have done, how they solved problems, what they weren’t able to achieve and how they would improve it.

Rails 4.x & Ruby 2.x should be used.

Requirements:

The user must be able to select the following colours: Red, Pink, Orange, Yellow, Green, Blue, and Purple The search must use a random one of the following nouns as a search term and the selected colour as a filter: man, mountain, state, ocean, country, building, cat, airline, wealth, happiness, pride, fear, religion, bird, book, phone, rice, snow, water. The colours must be presented as squares for the user to select The top 5 search result images need to be displayed The top search result needs to be able to be clicked by the user The link will take the user to the image’s url Show the list of previous searches in a dated list below Newest searches at the top Date, time, Noun, colour and http response time displayed clicking on a previous search should rerun the search Upload the working codeset to any online server (Heroku has free instances). Present the link & source code for review.

About

No description, website, or topics provided.

Resources

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published

Languages