Coder Social home page Coder Social logo

backend-challenge's Introduction

EverlyWell Backend Challenge

Overview

Using Ruby on Rails, we'd like you to create a simple experts directory search tool. The tool can either be a full featured application or API only.

  • Spend no more than 4 hours coding for the project. Do not include any initial application setup in this time limit.

Requirements:

The application should fulfill the following requirements:

  • A member can be created using their name and a personal website address.
  • When a member is created, all the heading (h1-h3) values are pulled in from the website to that members profile.
  • The website url is shortened (e.g. using http://goo.gl).
  • After the member has been added, I can define their friendships with other existing members. Friendships are bi-directional i.e. If David is a friend of Oliver, Oliver is always a friend of David as well.
  • The interface should list all members with their name, short url and the number of friends.
  • Viewing an actual member should display the name, website URL, shortening, website headings, and links to their friends' pages.
  • Now, looking at Alan's profile, I want to find experts in the application who write about a certain topic and are not already friends of Alan.
  • Results should show the path of introduction from Alan to the expert e.g. Alan wants to get introduced to someone who writes about 'Dog breeding'. Claudia's website has a heading tag "Dog breeding in Ukraine". Bart knows Alan and Claudia. An example search result would be Alan -> Bart -> Claudia ("Dog breeding in Ukraine").

We encourage the use of any libraries for everything except the search functionality, in which we want to see your simple algorithm approach.

Add-ons:

  • Sign up/log in functionality
  • A UI that expands upon the basic requirements to have a user-friendly look and feel
  • Anything else you, as a user, would enjoy seeing in an interface like this

Things we're looking for:

  • Navigable code
  • Efficient algorithms
  • Good separation of concerns
  • Error handling
  • Usage of gems/libraries

Things we like:

  • Well commented & well organized code
  • Quality over quantity (the code you write should be good)
  • Small, meaningful, commits
  • Tests!
  • Respect for the time limit - if you are in the midst of some work that you would like to finish, but have hit the 4 hour time limit, please split additional work into a separate branch, to be evaluated separately

Submission

  • Fork this repository to your own git

  • Remember to make meaningful commits as you work

  • Somehow share your repository with us

  • Important: If there are credentials required (.env or master.key file), please email these to us directly or we can’t review your project

  • After you fork the repo, you can run the following commands in your terminal:

      bin/setup
      bin/rspec
    
  • Feel free to add to add/modify existing specs. Just make sure the original request specs are still present.

  • Here are the required routes:

      [POST] "/friendships"
      [POST] "/members"
       [GET] "/members"
       [GET] "/members/:member_id"
    

Reviewer Setup

  1. Clone the candidate's branch

  2. Execute the following:

     bin/bundle
     bin/rails db:drop
     bin/setup
     bin/rspec
    
  3. Make a copy of the rubric and fill it in

  4. Ensure that the requests specs are the same or improved

backend-challenge's People

Contributors

greganswer avatar zachrab avatar autumnj avatar everly-blake avatar jonkgrimes avatar katie-wright avatar dependabot[bot] avatar

Watchers

James Cloos 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.