👋 Hey there! If you got here, it means you've decided to accept our little test assignment. That's great! We're really happy to see you here. We hope you'll find this easy and will 🚀 blaze through it in minutes 😀 If you do we'd love to welcome you to our team of true motherhackers.
Good Luck!
This repository holds a pretty basic Rails 5 app. A candidate applying to goodylabs is asked to fork this repo and submit a PR once they're done with the assignment.
bundle install
rake db:create
rails s
The goal of the exercise is to create a checkout system that meets the requirements listed below:
- Products can be added to the Cart
- Products can be removed from the Cart
- A Cart can be checked out - a total price is calculated
- A Customer’s Email, Address and Credit Card details are required to check out
- After checking out, the Customer will have an Order that contains all the cart items
- Products can be managed from ActiveAdmin (https://github.com/activeadmin/activeadmin) or RailsAdmin (https://github.com/sferik/rails_admin)
- Products should have at least a name and a price
- Products can be bought more than once
- Create a database that can support the requirements listed above
- Create pages to accommodate the required functionality
- Validation of intended functionality
- Brief summary of your approach, assumptions, caveats and notes (in a form of a README.md)
- Instructions on how to run the project
- Submission should be a GitHub repository
- RSpec tests
Note:
- No attention will be paid to the look and feel of this task. Pages can be plain HTML.