Git Product home page Git Product logo

code_sample's Introduction

Code Sample

At Pet Partners, we write a lot of code in Elixir. We're passionate about the language and we also believe one of the best ways to evaluate developers is by looking at code they've written. Interested in building world class software that's fundamentally changing veterinary medicine? Join our team! To get started, follow the directions below and then email us a link to your code repository.

Don't worry if you aren't intimately familiar with Elixir. We're open to developers who can quickly pick up at least the basics of the language and are excited about learning more and using it on a daily basis. If you've worked with Elixir before, this exercise might take you an hour or two to complete. If you're new to the language, it could be a half day, or the better part of a weekend if you really dive into the language. It's really up to you.

For the code sample, you'll be using Elixir to interact with the Box API as the first step in our application process. In addition to file syncing and sharing, Box allows users to create comments about a file. At a minimum, we'd like you to write the code and the appropriate associated tests to create, get, update, and delete a comment about a file. We've created some scaffolding to get you started, including functions to upload and destroy a file on which you can comment, setup and tear down functions for your tests, and a sample test file. If you're looking for a jumping off point, try test/integration/code_sample_integration_test.exs.

Instructions

  1. Fork this repository

  2. Signup for a Box developer account

  3. Create an app only user in your Box account (keep note of the user ID, you'll need it):

    curl https://api.box.com/2.0/users -H "Authorization: Bearer ACCESS_TOKEN" -d '{"name": SOME_NAME, "is_platform_access_only": true}' -X post

  4. Write your code and tests to go with it

  5. Make sure all tests are passing

  6. Email us a link to your repository.

Learning Resources

Elixir is a functional language which lives on top of the Erlang Virtual Machine, just as Groovy or Clojure live on top of the Java Virtual Machine. At Pet Partners, we develop software using Elixir whenever possible. We recognize that functional programming requires a somewhat different mindset and may not be for everyone. Accordingly, we've developed this simple programming exercise to determine if a potential candidate is a good match.

Elixir

Elixir Website - Install instructions, links, etc..

exercism.io - Elixir exercises which may help geting comfortable with the language.

Elixir School - More lessons for learning the language

HTTPoison - Our go to library for HTTP requests

Poison - A wonderful library for handling JSON.

Box

Box Developer Site - Main developer site for Box.

Content API - The specific API you'll need to use for this exercise.

Git

Github Bootcamp - Lots of great resources for getting started

Try Git! - Interact with Git from within your browser.

code_sample's People

Contributors

johnaschroeder avatar rhowell avatar

Stargazers

 avatar  avatar  avatar  avatar  avatar  avatar

Watchers

 avatar  avatar  avatar  avatar

Recommend Projects

  • React photo React

    A declarative, efficient, and flexible JavaScript library for building user interfaces.

  • Vue.js photo Vue.js

    ๐Ÿ–– Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.

  • Typescript photo Typescript

    TypeScript is a superset of JavaScript that compiles to clean JavaScript output.

  • TensorFlow photo TensorFlow

    An Open Source Machine Learning Framework for Everyone

  • Django photo Django

    The Web framework for perfectionists with deadlines.

  • D3 photo D3

    Bring data to life with SVG, Canvas and HTML. ๐Ÿ“Š๐Ÿ“ˆ๐ŸŽ‰

Recommend Topics

  • javascript

    JavaScript (JS) is a lightweight interpreted programming language with first-class functions.

  • web

    Some thing interesting about web. New door for the world.

  • server

    A server is a program made to process requests and deliver data to clients.

  • Machine learning

    Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.

  • Game

    Some thing interesting about game, make everyone happy.

Recommend Org

  • Facebook photo Facebook

    We are working to build community through open source technology. NB: members must have two-factor auth.

  • Microsoft photo Microsoft

    Open source projects and samples from Microsoft.

  • Google photo Google

    Google โค๏ธ Open Source for everyone.

  • D3 photo D3

    Data-Driven Documents codes.