This repository contains basic Rails 5 application that can be developed by candidates applying to goodylabs
bundle install
rake db:create
rails s
The goal of the exercise is to create a checkout system that fulfills the criteria listed below:
- Products can be added to a basket
- Products can be removed from a basket
- Basket can be checked out - a total price is calculated
- Customer’s Email, Address and Credit card details are required to check out
- Customers will have an Order after checking out that contains all the basket 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 criteria
- Create pages to accommodate functionality
- Validation of intended functionality
- Brief written summary of approach, assumptions, caveats and notes
- 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.