Code Monkey home page Code Monkey logo

rails-challenge's Introduction

Grain Challenge

Grain is an online food delivery company that manages the whole end-to-end customer experience. We maintain control over every part of the supply chain from the cooking to ordering to delivery to achieve a great customer experience. https://grain.com.sg

What is the problem?

We belive that feedbacks are a treasure trove of value, every customers voice is encapsulated in a single response that contains very actionable suggestions and also hidden behaviours we should be deciphering. We want to collect all data about each meal and also the delivery service.

What you need to build!

You will be required to think about how we can collect each meal feedback and delivery service feedback for every order. Using this project boiler plate, create a meal feedback system that can help capture the above data points.

Scenario:

  1. Given user visits the order feedback url, she should be able to give a rating for each order_items
  • Feedback can be in the form of 🌟🌟🌟🌟🌟 or 👎👍 or 🎉🎉🎉 or ❤️❤️❤️ (if you have a better alternative, feel free to implement and tell us why)
  1. User should be able to give a rating for the delivery (same as meals ideally so the interaction is consistent)
  2. User should be able to input a comment on each feedback (or you can think beyond free form text and think of quick select tags, make the case)
  3. User should not be able to submit a feedback for the same order again

Setting it all up

  1. Fork this repo
  2. bundle install
  3. rails s
  4. Visit http://localhost:3000/order/123/feedback to get started

= or =

Use a prototyping tool of your choice (we use Rails here, but for this exercise, your most comfortable tool is fine)

Areas of assessment

  1. Code readability
  2. Familiarity with Rails application pattern (if applicable)
  3. Unit tests
  4. OK looking user interfaces
  5. Corner cases handling

Questions?

Make an assumption! or ask Ernest if you must

rails-challenge's People

Contributors

idl3 avatar sbycrosz avatar

Watchers

 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.