Skip to content

Instantly share code, notes, and snippets.

@edwhu
Last active September 12, 2016 22:54
Show Gist options
  • Save edwhu/8211eec285ef013260e10331113566c3 to your computer and use it in GitHub Desktop.
Save edwhu/8211eec285ef013260e10331113566c3 to your computer and use it in GitHub Desktop.
Virtual Cache Project Interview

#Cookbook Project Specifications:

We are looking for a frontend engineer, so we will be testing your front end skills with a simple project. This is your chance to showcase your front end skills. You will be creating a simple cookbook android application.

##Specifications: This android app just has to have a list of food and display some information about it. You can do whatever you want in terms of design or coding practices. We will be judging it based on overall user experience and appearance.

Some Ideas (you do not have to follow these. In fact, surprise me!):

  1. Group the foods together by type: Chinese, Indian, European, etc.
  2. Use a listview to display the foods and on click expand the chosen food to reveal more details
  3. Have a picture for each food

##Extra Credit: When you work at Virtual Cache, you will be working with a lot of server requests.

Knowing how to send and parse AJAX requests is a big plus.

However, this part is purely optional because we are looking for a front end engineer. If you do not know how to do this or think that it will take too long to implement, do not do this and focus on the front end because that is what we are hiring you for.

My server will have an API for foods. http://www.edward-hu.com/cookbook You will have to use a GET request to get the JSON data. The JSON format is this:

{ 
   “type of food”: [{"name": “food1”, "details":"details about food1"}, {"name": "food2", "details":"details about food2"}...],
   "type of food2": [{"name":"food3", "details":"details about food3"}...]
...
}

The JSON object sent back will have keys where each key is a food type (Chinese, European, etc.)

Each food type will point to an array of food objects.

Every food object will have a name key and a details key that point to the name and a paragraph about the food.

Right now, the server will send out:

{
  "Chinese": [
    {
      "name": "Fried Rice",
      "details": "Rice that is fried."
    },
    {
      "name": "Wonton",
      "details": "Meat wrapped with rice skin"
    }
  ],
  "Indian": [
    {
      "name": "Samosa",
      "details": "Fried dish with savory filling"
    }
  ],
  "American": [
    {
      "name": "Burger",
      "details": "Sandwich but tastier"
    }
  ]
}

However, the server's content can change. The format will remain the same. ##Submission: The deadline will be 1:00 PM this sunday on the 18th. You can either:

  1. Send me the github link to your Android Studio project.
  2. Send me a downloadable file (apk) or Android Studio project.

note:please make sure that your apk or project is importable / working.

My email is: edward.s.hu.cs@gmail.com

Give me your name in your email.

The earlier you submit your project, the more time I will have to go over your application. Good luck!

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment