Code Monkey home page Code Monkey logo

railstest's Introduction

Introduction

Welcome to the HouseCare Programming Test!

This website is a simple website to rank girls from the hit anime 'Love Live! School Idol Project.' People can create an account, login and change the ranks of the girls according to whom they like the most.

Getting Started

Use Ruby 2.2 (we recommend using RVM to install 2.2 for development)

Use Postgres (if you are on a Mac, just use Postgres.app and you should be set)

Fork this repository

Run the following commands to set up

git clone [email protected]:[your_username]/railstest
cd railstest
bundle install
rake db:create
rake db:migrate
rake db:seed # this will seed the base with random best girl values

Run the following command to start the server

bundle exec rails s

You should see the website on http://localhost:3000.

The Problem

When you see the front page, you will see a ##Display best girl ranking here:##. Please implement this view.

This view needs to display the overall (global) ranking for all the girls according to the rankings set by every user, so you will need to implement the calculation and display the result on the front page. (Make sure to write tests too!)

Make a pull request with your modifications.

Job Application

As part of your job application please provide a resume (preferably text or a URL to your resume) with your contact details (i.e. phone number and e-mail address) and use encrypt.sh to encrypt it before checking it in. This program will encrypt a file and add a .enc extension to the end of it to indicate that it is encrypted. Please also check in the corresponding file with the .enc.pub extension.

Example:

sh encrypt.sh message
git add message.enc
git add message.enc.pub
git commit -m "Message for job application"

** PLEASE DON'T CHECK IN YOUR PERSONAL INFO UNENCRYPTED **

If you are uncomfortable with this then please e-mail your job application to david アット airtidy.com and let us know your github username.

Extra Credit

There are issues with the code that allows people to set their best girl. Find out what they are and fix them.

There are many other problems with the site, you do not need to fix them but spotting them would be really nice.

TL;DR

Ruby is best girl anyway.

railstest's People

Contributors

davidsiaw avatar jclune avatar

Watchers

Arman Adhitama Prawirasasra avatar 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.