Key Information

Register
Submit
The challenge is finished.

Challenge Overview

Overview

Our client NEXT provides one of the biggest housing and real estate services in Japan. They are planning to develop a new web service in which users can upload images from mobile devices. The service will run on heroku and use Cloudinary as the image storage.

In this challenge, I would like you to develop a PoC (Proof of Concept) sample application for them.

The program should be written in Ruby on Rails 4, connect to free Cloudinary add-on and PostgreSQL and run on heroku.

We are in a bit of a hurry. please submit your deliverable ASAP by Sunday night, or we will cancel the challenge. Please let us know in case you are working but hard to finish in time.

Features and story board

The feature set is as simple as having simple CRUD features.

  • - Create a new content with short comment, long_comment and an image
  • - List the contents index, including image thumbnails (image width:64px, height:64px), sorted by updated_at desc.
  • - Show the content detail (image width:400px, height:400px)
  • - Edit the existing content, including replacing the image
  • - Delete the existing content

We do not need a user registration feature. Anyone can create or delete contents in this PoC.

Here is the storyboard. You can download the file from the attachment. 

  • - If you delete the content with an image, delete the image in cloudinary too.
  • - If you replace the stored image with a new one in the edit page and update it, please delete the old image from cloudinary.

We do not need a cool design. You can write simple erb htmls with a simple layout template.

The service should support the default web browsers of iOS7+ and Android 4+.
I believe the simple input type=file element supports both devices. (e.g. Image upload and preview sample)

To display the thumbnails, you can utilize the cloudinary resize feature. You can see Cloudinary getting started guide.

Model

I have uploaded the sample model class in the forum. Please find the document and follow the column length. Please remember you need to use PostgreSQL instead of SQLite or MySQL.

  • - All of the content parameters, short_comment, long_comment and image are optional
  • - If you do not input anything in the comment parameter, the column should have the empty string
  • - If you do not upload the image, you do not need to create an image record
  • - If you delete the image from the existing content, delete the image record
  • - If you delete the content with the image, delete the content and the image record

See Also

We are going to start another PoC ruby/heroku challenge very soon. Stay tuned.

 

 

 



Final Submission Guidelines

Final Submission Guideline

  • - Make sure your solution is satisfying all the requirements
  • - Please follow the attached ruby coding guideline
  • - You should follow general ruby on rails way
  • - I like beatiful code :-)

Deliverables

  • - Setup document (environment variables, heroku commands you need to execute, how to setup Cloudinary etc)
    • - Let me know what devices you tested with
  • - Ruby on Rails source code
  • - Your heroku running environment (See details in my forum post)

���


 

Please feel free to ask us any question in the forum. We are looking forward to receiving beautiful submission from you.

thanks!

REVIEW STYLE:

Final Review:

Community Review Board

Approval:

User Sign-Off

SHARE:

ID: 30049211