Ecosyste.ms: Awesome

An open API service indexing awesome lists of open source software.

Awesome Lists | Featured Topics | Projects

https://github.com/goodylabs/rails-dev-test

Simple RoR test for candidates
https://github.com/goodylabs/rails-dev-test

Last synced: about 2 months ago
JSON representation

Simple RoR test for candidates

Awesome Lists containing this project

README

        

![Goodylabs_logo](https://user-images.githubusercontent.com/1035770/151546790-59ffd0b3-3caa-4ecd-918b-cecfcfdfcccb.png)

# Welcome

πŸ‘‹ 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!

# Simple RoR test for candidates

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.

# Getting started

1. `bundle install`
2. `rake db:create`
3. `rails s`

# The goal

The goal of the exercise is to create a checkout system that meets the requirements listed below:

1. Products can be added to the Cart
2. Products can be removed from the Cart
3. A Cart can be checked out - a total price is calculated
4. A Customer’s Email, Address and Credit Card details are required to check out
5. After checking out, the Customer will have an Order that contains all the cart items
6. Products can be managed from ActiveAdmin (https://github.com/activeadmin/activeadmin) or RailsAdmin (https://github.com/sferik/rails_admin)
7. Products should have at least a name and a price
8. Products can be bought more than once

# Deliverables
- 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.

----------