Ecosyste.ms: Awesome
An open API service indexing awesome lists of open source software.
https://github.com/jhubbardsf/stitch-fix
https://github.com/jhubbardsf/stitch-fix
Last synced: 11 days ago
JSON representation
- Host: GitHub
- URL: https://github.com/jhubbardsf/stitch-fix
- Owner: jhubbardsf
- Created: 2015-12-14T23:21:44.000Z (almost 9 years ago)
- Default Branch: master
- Last Pushed: 2015-12-30T16:02:12.000Z (almost 9 years ago)
- Last Synced: 2023-12-24T07:35:38.372Z (11 months ago)
- Language: Ruby
- Size: 92.8 KB
- Stars: 0
- Watchers: 2
- Forks: 0
- Open Issues: 0
-
Metadata Files:
- Readme: README.md
Awesome Lists containing this project
README
# Notes from Josh
- Seed file has been updated to work with current changes.
- Having clothing_types in the styles table seemed unsustainable and messy. Normalized it and moved it to its own table.
- I left in the 'Clothing Articles' link as a way to show to add new clothing styles. Customers for this particular app wouldn't use it. But with proper authentication/authorization an admin might.
- I added validation for status since that seemed important, changed the tests to reflect that.
- Holidays have been a extremely busy so I'm sorry about the timing. I added in a few model tests and feature tests but didn't add in complete tests for every change due to timing.
- Everything should be ready to up and run, just rake db:setup and go.
- If you have any questions please let me know.
- If report PDFs don't generate propery (they should since the correct gem is bundled), then you may need to manually install wkhtmltopdf on your dev machine.
- Hope everyone had/has a happy holidays and have a good new year!# Problem
We need to clearance inventory from time to time. Certain items don't sell through to our clients, so every month, we collect certain unsold items and sell them to a third party vendor for a portion of their wholesale price.
This repository is a bare-bones application that meets that need, but it's in need of some enhancements, which we'd like you provide.
# Vocabulary
_Items_ refer to individual pieces of clothing. So, if we have two of the exact same type of jeans, we have two items. Items are grouped by _style_, so
the two aforementioned items would have the same style.Important data about an item is:
* size
* color
* status - sellable, not sellable, sold, clearanced
* price sold
* date soldA style's important data is:
* wholesale price
* retail price
* type - pants, shirts, dresses, skirts, other
* nameThe _users_ of this application are warehouse employees (not developers). They have a solid understanding the business process they must carry out and look to our software to support them.
# Requirements
This application currently handles the clearance task in a very basic way. A spreadsheet containing a list of item ids is uploaded and those items are clearanced as a batch. Items can only be sold at clearance if their status is 'sellable'. When the item is clearanced, we sell it at 75% of the wholesale price, and record that as "price sold".
You should be able to play around with the app by uploading the CSV file in this repository.
We'd like you to make some improvements, specifically:
- We're selling some items for less than we'd like, so we want to set a minimum price for items whose clearance discount is too low. For pants and dresses, ensure they don't sell for less than $5. For all other items the minimum price is $2.
- The vendor buying the items on clearance needs to know what they've just purchased, so please provide a report for each batch about what items were clearanced.
- Users should be able to browse items and see them grouped by status or by batch.
- Finally, we'd like to avoid requiring that users create a spreadsheet and upload it, and instead handle this process directly in the app. Since they can scan an item's barcode into any text field (as if typed directly by a keyboard), we'd like to try allowing them to create batches and clearancing them simply by entering item IDs. We'd want to support both methods of clearancing batches for the time being. You can assume the barcode scanner works just like a computer keyboard, so if your solution works by entering text with a keyboard, it will be fine for the purposes described here, i.e. don't worry about barcodes.# Tech Specs:
- Rails 4.2
- Ruby 2.2
- SQLite preferred, Postgres OK
- Anything can be changed if you think it's needed, including database schema, Rails config, whatever# Some other guidance
This is evaluating your product thinking as well as coding and testing ability. We want to see that you:
* Have thought about the user experience of the product
* Are willing to refactor when necessary
* Will test at an appropriate levelIf you need to make an assumption about a vague requirement, feel free, just state what it is.