Skip to content

Instantly share code, notes, and snippets.

@swichers
Created March 9, 2015 23:48
Show Gist options
  • Save swichers/a057bbb133e9664cada5 to your computer and use it in GitHub Desktop.
Save swichers/a057bbb133e9664cada5 to your computer and use it in GitHub Desktop.
Engineering Skillcheck

Summary:

Using Drupal or Wordpress, create a basic website where the front page contains a simple form to convert a decimal amount of US Dollars to an equivalent amount of BitCoin. Please leverage a third-party API to do so.

Requirements:

  • Select a CMS of your choice - either Drupal or Wordpress.
  • Create a module/plugin that enables a form on the front page of the site that accepts a decimal based argument of a Dollar amount in USD.
  • Submitting the form sends a request to a third-party API to convert the submitted Dollar value into the equivalent amount of BitCoin and displays the result on the page.
  • Enabling the module/plugin should create the form. Disabling it should remove the form.
  • Create a means for an authenticated user with the appropriate permissions (administrator) to store any API connection details required to communicate with your third-party API (e.g., API Key) in the database.
  • Your module should pull this value from the database when making a request to the API. Connection details like API keys or passwords should NOT be stored in your module.
  • When finished, check in your code to a public GitHub repository and send the URL to your hiring manager.
  • Bonus points if you create a live demo of your app in a hosting environment.

Resources:

https://openexchangerates.org <- Has open APIs for currency conversion

https://www.drupal.org/node/1074360 <- How to create a Drupal module

http://codex.wordpress.org/Writing_a_Plugin <- How to create a Wordpress plugin

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