Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Lumbersexuals - completed betsy (Hipsterly) #4

Open
wants to merge 264 commits into
base: master
Choose a base branch
from
Open
Show file tree
Hide file tree
Changes from all commits
Commits
Show all changes
264 commits
Select commit Hold shift + click to select a range
629e124
added has_many and validation
SuzHarrison May 2, 2016
4b1032a
Merge branch 'master' of github.com:SuzHarrison/betsy
dri19tcc May 2, 2016
d5e975c
Generated Reviews controller
aniagonzalez May 2, 2016
7c35552
Merge branch 'master' of github.com:SuzHarrison/betsy
aniagonzalez May 2, 2016
6220d92
Generated a controller for products
dri19tcc May 2, 2016
787d04a
added user controller
SuzHarrison May 2, 2016
3498fa8
orders and order item controllers generated
nicosaki May 2, 2016
ee097ad
Merge branch 'master' of github.com:SuzHarrison/betsy
nicosaki May 2, 2016
6ef40b6
Merge branch 'master' of github.com:SuzHarrison/betsy
dri19tcc May 2, 2016
d828cca
Merge branch 'master' of github.com:SuzHarrison/betsy
nicosaki May 2, 2016
9bf3d65
merged with orders controller and order items controller
nicosaki May 2, 2016
5b19b0d
added unique to email in user model
SuzHarrison May 3, 2016
90913a4
added cart model
SuzHarrison May 3, 2016
6abead1
Generated the CartEntries model
aniagonzalez May 3, 2016
e2f99c8
Merge branch 'master' of github.com:SuzHarrison/betsy
aniagonzalez May 3, 2016
acd50d8
added has_many and has_many through relationships to cart/products/ca…
nicosaki May 3, 2016
b4a9296
all model relationships updated
nicosaki May 3, 2016
70dbf7d
fixed migrations
dri19tcc May 3, 2016
ebd99a3
db:migrate, set up schema
dri19tcc May 3, 2016
9560435
migration
SuzHarrison May 3, 2016
3bef4ba
fixed migrations, functional
nicosaki May 3, 2016
6fcee5d
migrated session_id column to orders table
nicosaki May 3, 2016
79ef04a
merge, new schema
nicosaki May 3, 2016
8c1abd9
starting products controller on its own branch
SuzHarrison May 3, 2016
b3c1d04
Added in a cart controller
dri19tcc May 3, 2016
2e1d0b4
Added methods I will be using to cart controller
dri19tcc May 3, 2016
55e73af
fworked on products controller mothods, products, new, show, index vi…
SuzHarrison May 4, 2016
9d9a5d5
Merge branch 'master' of github.com:SuzHarrison/betsy
SuzHarrison May 4, 2016
2294431
application controller method for current order
nicosaki May 4, 2016
18ebb0f
Order controller
nicosaki May 4, 2016
45a122c
Merge branch 'master' of github.com:SuzHarrison/betsy into ni/orderco…
nicosaki May 4, 2016
f894084
migrated db
aniagonzalez May 4, 2016
09c8863
Notes on README and updated controller for cart
dri19tcc May 4, 2016
b6a6bf6
Merge branch 'master' into cart
dri19tcc May 4, 2016
1a0b67f
added logic to products controller to do index all, by_seller, by ca…
SuzHarrison May 5, 2016
4a080ff
Merge Conflicts
aniagonzalez May 5, 2016
c9cff84
Worked on getting users in
dri19tcc May 5, 2016
77faecc
updated Gemfile
dri19tcc May 5, 2016
ce247ce
Merge branch 'master' of github.com:SuzHarrison/betsy
dri19tcc May 5, 2016
bdbf1e0
Merge branch 'master' of github.com:SuzHarrison/betsy into ni/orderco…
nicosaki May 5, 2016
1878986
schema deleted
dri19tcc May 5, 2016
390bce8
cart view, merchant order view, orders/application controller helper …
nicosaki May 5, 2016
0dbd573
method changes
SuzHarrison May 5, 2016
303e0db
Merge branch 'master' into ProductsController
SuzHarrison May 5, 2016
cf85cee
Merge branch 'master' into cart
dri19tcc May 5, 2016
d7af3f5
Merge branch 'master' of github.com:SuzHarrison/betsy into ni/orderco…
aniagonzalez May 5, 2016
dba7593
Merge branch 'master' of github.com:SuzHarrison/betsy into ni/orderco…
nicosaki May 5, 2016
c37a7a0
Added some seed data
aniagonzalez May 5, 2016
56055dc
Fixed some seed data
aniagonzalez May 5, 2016
ac8248b
beginning user seed change
nicosaki May 5, 2016
df87fc8
Merge branch 'master' of github.com:SuzHarrison/betsy into ni/orderco…
nicosaki May 5, 2016
7d0e4f7
Added a sessions controller, started adding in necessary work to get …
dri19tcc May 5, 2016
86312b9
merge conflict fix
dri19tcc May 5, 2016
f21fa60
Getting root path set up
dri19tcc May 5, 2016
037a8b8
Merge branch 'master' of github.com:SuzHarrison/betsy into ni/orderco…
nicosaki May 5, 2016
7014665
merge with master: all seeds
nicosaki May 5, 2016
047fd0e
Seeded orders and order items
aniagonzalez May 5, 2016
c0ca987
Merge branch 'master' of github.com:SuzHarrison/betsy into ania
aniagonzalez May 5, 2016
f31a6ad
changed route homeindex. dropped password for password_digest
SuzHarrison May 5, 2016
d18d273
Merge branch 'master' into ProductsController
SuzHarrison May 5, 2016
294285b
Merge branch 'master' of github.com:SuzHarrison/betsy
aniagonzalez May 5, 2016
874379e
added login and authentication to User/sessions.
SuzHarrison May 5, 2016
33fbf2e
review page complete, NO controller, untested
nicosaki May 5, 2016
52a9381
order review / post-checkout page coplete, NO controller, untested
nicosaki May 5, 2016
e5f0811
Working on log in page
dri19tcc May 5, 2016
7fb006c
Have all login and logout functions
dri19tcc May 5, 2016
f53970f
worked on cart
aniagonzalez May 5, 2016
5f89c3c
review function pre-merge commit
nicosaki May 5, 2016
88c4e5c
Got the 'add to cart' button to work!
aniagonzalez May 5, 2016
dc8a2aa
added user testing commented out all other .yml s to get passing test.
SuzHarrison May 5, 2016
e605737
Added an ERD
dri19tcc May 5, 2016
045c427
Merge branch 'master' of github.com:SuzHarrison/betsy
aniagonzalez May 5, 2016
01a8c53
Merge branch 'master' into cart
dri19tcc May 5, 2016
3b90c42
Merge branch 'ania'
aniagonzalez May 5, 2016
ca3d326
Merge branch 'master' of github.com:SuzHarrison/betsy
aniagonzalez May 5, 2016
7a74cf0
Merge branch 'master' of github.com:SuzHarrison/betsy into ni/postche…
nicosaki May 5, 2016
c21dad8
worked on flash, don't show signup if you are already signed in
dri19tcc May 5, 2016
7fa01e4
controller and view complete for order-review (requires info be poste…
nicosaki May 5, 2016
ac3ecbe
merge on product show page
nicosaki May 5, 2016
cdeec4b
Merge branch 'ni/postcheckoutview'
nicosaki May 5, 2016
469cc72
Merge branch 'master' into cart
dri19tcc May 5, 2016
bf458ce
updated link and updated_at to show on order review page
nicosaki May 6, 2016
c989dd5
Merge branch 'master' of github.com:SuzHarrison/betsy
nicosaki May 6, 2016
404c571
worked on authentication, logo, changed config routes for products by…
SuzHarrison May 6, 2016
468f76c
checkout view, controller, and order review
nicosaki May 6, 2016
d3de943
remove products new/create routes
nicosaki May 6, 2016
d619b14
Merge branch 'master' of github.com:SuzHarrison/betsy
nicosaki May 6, 2016
67e59e2
added logic to avoid ordering more products than stock available in o…
nicosaki May 6, 2016
5e24664
fixed add new product button.
SuzHarrison May 6, 2016
48912be
Got the update order items method to succefully update quantities.
aniagonzalez May 6, 2016
15887b3
Merge branch 'master' into ania
aniagonzalez May 6, 2016
4a647db
Create a Delete button for order items in cart.
aniagonzalez May 6, 2016
564d041
Fixtures for orders, items, products + test model for order (not work…
nicosaki May 6, 2016
d3819bc
added browse by category and browse by seller but links don;t work
SuzHarrison May 6, 2016
8cea59d
Merge branch 'master' into suze
SuzHarrison May 6, 2016
dc984c5
Add to Cart button now only adds a new order item if product is not i…
aniagonzalez May 6, 2016
022be52
failtests are failing hard
nicosaki May 6, 2016
82f78b0
added checkout/review functionality. Still needs updating to be fixed…
nicosaki May 6, 2016
4a5b5f9
fixed bug on checkout review page
nicosaki May 6, 2016
d11564e
added routes for by_seller and by_cat but aren't working yet.
SuzHarrison May 8, 2016
dcfa428
correct by_category routes.
SuzHarrison May 9, 2016
5e34be9
made products by cateogry show up.
SuzHarrison May 9, 2016
a18cd1b
merging with master
SuzHarrison May 9, 2016
0efbdb2
Added a flash message if the user signup worked
dri19tcc May 9, 2016
74463b6
when you sign up, you are automatically logged in
dri19tcc May 9, 2016
eca591c
user is signed in when the signup
dri19tcc May 9, 2016
94ef813
fixed reviews.
SuzHarrison May 9, 2016
2f30009
got the reviews view to work
SuzHarrison May 9, 2016
09c0a26
add review now working.
SuzHarrison May 9, 2016
4fb595f
Merge branch 'master' of github.com:SuzHarrison/betsy
nicosaki May 9, 2016
1699274
Product show views now specify if item is in cart and lets you update…
aniagonzalez May 9, 2016
9925787
Added flash
dri19tcc May 9, 2016
7cfe03e
Added Simplecov
dri19tcc May 9, 2016
e88726c
FINA F'IN LLY! The categories don't repeat on index page and the inpu…
SuzHarrison May 9, 2016
c34ac67
Merge branch 'master' into cart
dri19tcc May 9, 2016
e6641a1
Added an edit feature for each product
dri19tcc May 9, 2016
5addd46
added titleize and logic for index view.
SuzHarrison May 9, 2016
72824ee
Merge branch 'master' of github.com:SuzHarrison/betsy
nicosaki May 10, 2016
7207c3e
checkout button
nicosaki May 10, 2016
218ee15
merchant orders page + controller complete
nicosaki May 10, 2016
0be9cca
added orders link to nav bar. Not tested
nicosaki May 10, 2016
8eceb46
migrated
dri19tcc May 10, 2016
095b5a9
Resolved conflict.
aniagonzalez May 10, 2016
ce0dda2
Fixed merchant order link on layout
nicosaki May 10, 2016
6ca5777
Merge branch 'ni/ordertesting'
nicosaki May 10, 2016
567317f
Merge branch 'master' into cart
dri19tcc May 10, 2016
ebd3dd3
added sorted sums /subtotals to merchant orders page
nicosaki May 10, 2016
d0e53d3
retired product now not showing in browsing.
SuzHarrison May 10, 2016
729734f
Merge branch 'suze'
SuzHarrison May 10, 2016
5a96537
merge conflict fix
dri19tcc May 10, 2016
dec4200
Deleted cart controller
aniagonzalez May 10, 2016
3534696
adding to merchant orders page
nicosaki May 10, 2016
a51a25f
Added checkout price to permit params
aniagonzalez May 10, 2016
5dac1a6
Merge branch 'master' of github.com:SuzHarrison/betsy
aniagonzalez May 10, 2016
7edfdfe
Merge branch 'master' into ania
aniagonzalez May 10, 2016
6b8740e
Merge branch 'master' into cart
dri19tcc May 10, 2016
bf23537
Added default value to products category
dri19tcc May 10, 2016
91d5cdc
merge conflicts
dri19tcc May 10, 2016
2e39b33
Merge Conflict
dri19tcc May 10, 2016
bd7b1fa
added a ternary in orders controller because of guest
dri19tcc May 10, 2016
e0696f0
Merge branch 'cart'
dri19tcc May 10, 2016
e8a29d6
reseeded:
SuzHarrison May 10, 2016
38e8bd2
sidebar added, browsing options removed from product index, css started
nicosaki May 10, 2016
c7a8c5f
Merge branch 'master' of github.com:SuzHarrison/betsy
nicosaki May 10, 2016
ae54469
Merge branch 'master' into suze
SuzHarrison May 11, 2016
c095aba
Made cart not persist between users
dri19tcc May 11, 2016
37b1468
database reset
aniagonzalez May 11, 2016
87e59e6
made category a required field to fill out
dri19tcc May 11, 2016
17b70ed
Merge branch 'master' into ania
aniagonzalez May 11, 2016
17a56e0
Button styling. Don't tell Jeremy
nicosaki May 11, 2016
db091f7
Merge branch 'master' of github.com:SuzHarrison/betsy
nicosaki May 11, 2016
57c9fd2
photos now stored in assets. more seed products.
SuzHarrison May 11, 2016
c67979b
Finished Order Show page. Fixed a bug, user_id is now saved to order.
aniagonzalez May 11, 2016
a830483
Merge branch 'master' into ania
aniagonzalez May 11, 2016
12eeb54
merge with master
SuzHarrison May 11, 2016
3276618
Merge branch 'master' into suze
SuzHarrison May 11, 2016
fa2e1e0
Updated reviews display on product show page. Still needs styling
nicosaki May 11, 2016
7629061
Merge branch 'master' of github.com:SuzHarrison/betsy
nicosaki May 11, 2016
3eaab2e
rounded corners of sidebar and added bootstrap to products index page
dri19tcc May 11, 2016
23400b7
Merge branch 'master' into cart
dri19tcc May 11, 2016
74c2967
working on oder testing.
SuzHarrison May 11, 2016
ff961e2
working on order testing.
SuzHarrison May 11, 2016
29d7686
Merge branch 'master' of github.com:SuzHarrison/betsy
SuzHarrison May 11, 2016
f0927f2
merge conflicts
SuzHarrison May 11, 2016
57095e4
Fixed checkout to save only last 4 digits of cc number
nicosaki May 11, 2016
41dc02a
Merge branch 'master' of github.com:SuzHarrison/betsy
nicosaki May 11, 2016
6938c20
order testing complete.
SuzHarrison May 11, 2016
922f13e
merge conflicts
dri19tcc May 11, 2016
b035899
Made the price at checkout be store in order_item to keep historical …
aniagonzalez May 11, 2016
5808f3d
Merge branch 'master' into ania
aniagonzalez May 11, 2016
4585556
Merge branch 'master' into suze
SuzHarrison May 11, 2016
59627f8
geez! images in idex view fixed! and baby Ryan model added in seeded …
SuzHarrison May 11, 2016
a520756
Checkout page update to form to include other info that won't be save…
nicosaki May 11, 2016
34d2cf8
Checkout page update to form to include other info that won't be save…
nicosaki May 11, 2016
c02ab6d
Merge branch 'master' of github.com:SuzHarrison/betsy
nicosaki May 11, 2016
d92c003
Made show page show all the pictures and made them look like polaroids
dri19tcc May 11, 2016
3259a28
Merge branch 'suze'
SuzHarrison May 11, 2016
fc0a67b
took out ul and li because they were not semantically correct
dri19tcc May 12, 2016
4e4989d
Merge branch 'master' of github.com:SuzHarrison/betsy
SuzHarrison May 12, 2016
5930be8
Added the seed files to be hooked up to a user. Added bootstrap to p…
dri19tcc May 12, 2016
2cfd1a1
Fixed merge conflicts in products index
dri19tcc May 12, 2016
d575867
Added responsiveness to bootstrap
dri19tcc May 12, 2016
5326cbc
Changed my order page to my account page on order index, controller, …
nicosaki May 12, 2016
898cc2c
Merge branch 'master' of github.com:SuzHarrison/betsy
nicosaki May 12, 2016
65187ec
cleaning up code
dri19tcc May 12, 2016
d46eeeb
Merge branch 'master' into cart
dri19tcc May 12, 2016
0a2112a
Added model testing for products.
aniagonzalez May 12, 2016
cdff67a
added tests for reviews
nicosaki May 12, 2016
2a3cdb6
Removed table/model cart and cart_entry
aniagonzalez May 12, 2016
913681c
Changed reviews model to allow reviews to be made by guests
nicosaki May 12, 2016
95fe511
finished order_items test and yml.
SuzHarrison May 12, 2016
a0e28a7
making sidebar more bootstrap like
dri19tcc May 12, 2016
eb469f6
Merge branch 'suze'
SuzHarrison May 12, 2016
ba25c98
Completed testing for reviews
nicosaki May 12, 2016
6e82c34
merged new schema
nicosaki May 12, 2016
dda3c2b
Added simplecov to testing
nicosaki May 12, 2016
b762616
schema update
SuzHarrison May 12, 2016
a63b49c
Merge branch 'master' into suze
SuzHarrison May 12, 2016
e8d60b9
Cleaned up unused routes.
aniagonzalez May 12, 2016
aa82c97
Merge branch 'ania'
aniagonzalez May 12, 2016
aefb68c
Got the panel image to show in the middle
dri19tcc May 12, 2016
9536d78
added logo
SuzHarrison May 12, 2016
88a714f
Merge branch 'master' of github.com:SuzHarrison/betsy
SuzHarrison May 12, 2016
2a1b7bd
Added more bootstrap styling, spacing between reviews and underline l…
dri19tcc May 12, 2016
7955376
Merge branch 'master' into cart
dri19tcc May 12, 2016
6d5e73a
ReviewController testing - only 50% successful
nicosaki May 12, 2016
736bcb8
Merge branch 'master' of github.com:SuzHarrison/betsy
nicosaki May 12, 2016
1114e4f
Made the sidebar responsive, added images to the homepage
dri19tcc May 12, 2016
ab5803e
Merge branch 'master' of github.com:SuzHarrison/betsy
dri19tcc May 12, 2016
4a54eaf
usercontroller testing done
nicosaki May 12, 2016
ba346f8
made sidebar a bit smaller and other columns take up more space
dri19tcc May 12, 2016
3b91c77
Bootstrapping Order Index
aniagonzalez May 12, 2016
6b21e04
Merge branch 'master' into ania
aniagonzalez May 12, 2016
a3d2d87
Orders controller testing added but nonfunctional
nicosaki May 12, 2016
1ba4471
Merge branch 'master' of github.com:SuzHarrison/betsy
nicosaki May 12, 2016
d38772c
changed seed data to sample for user_id assignment.
SuzHarrison May 12, 2016
50f2bb6
Merge branch 'master' into suze
SuzHarrison May 12, 2016
a8e394b
Order_item controller tests done but only at 80% :(
SuzHarrison May 13, 2016
edd3885
finished session_controller_test.
SuzHarrison May 13, 2016
81dd0b4
fixed photo rendering in orders cart view.
SuzHarrison May 13, 2016
33aaef9
Added a ternary so that a person creates a cart as soon as they start…
dri19tcc May 13, 2016
70032d4
Merge branch 'master' into cart
dri19tcc May 13, 2016
b065dfd
cart bugfix
nicosaki May 13, 2016
0696310
controller
dri19tcc May 13, 2016
a91f344
Merge branch 'master' of github.com:SuzHarrison/betsy
dri19tcc May 13, 2016
237ecf5
changes to order index
aniagonzalez May 13, 2016
0dd91a7
Added styling to form
dri19tcc May 13, 2016
9448377
new product form requires all fields except photo url
nicosaki May 13, 2016
3e3c014
Made form submit button on it's own line
dri19tcc May 13, 2016
9c9a0ee
Merge branch 'master' into ania
aniagonzalez May 13, 2016
2abd4bc
commented out broken test
dri19tcc May 13, 2016
6cd9cd9
styling of new product button to reduce overflow
nicosaki May 13, 2016
075f4bc
Can add a picture from internet or from seeded file from our images
dri19tcc May 13, 2016
585367f
Added mark as shipped functionality
aniagonzalez May 13, 2016
4c81944
changed input text color to be more contrasty and readable
nicosaki May 13, 2016
ca6a512
Merge branch 'ania'
aniagonzalez May 13, 2016
c96da29
Merge branch 'master' of github.com:SuzHarrison/betsy
nicosaki May 13, 2016
777558b
using ||=
dri19tcc May 13, 2016
e0d1167
Merge branch 'master' into cart
dri19tcc May 13, 2016
5b9a4da
Fixed major bug with session order id. Force quit your browser and op…
nicosaki May 13, 2016
85110c1
Made products edit button be down
dri19tcc May 13, 2016
2af77ce
merge conflicts
dri19tcc May 13, 2016
04a1ec4
merge conflicts
dri19tcc May 13, 2016
88ad971
Added pg gem to Gemfile
dri19tcc May 13, 2016
f42fc54
Gemfile bundle without production
dri19tcc May 13, 2016
da213c3
dropped cart tables
dri19tcc May 13, 2016
4e183a3
took out params on edit show
dri19tcc May 13, 2016
add60b3
css to edit page
dri19tcc May 13, 2016
30a749d
Added retire to edit page
dri19tcc May 13, 2016
d8c3255
added responsive height to the sidebar
dri19tcc May 13, 2016
File filter

Filter by extension

Filter by extension


Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
2 changes: 1 addition & 1 deletion .gitignore
Original file line number Diff line number Diff line change
Expand Up @@ -11,5 +11,5 @@
/log/*
!/log/.keep
/tmp

coverage
.DS_Store
19 changes: 16 additions & 3 deletions Gemfile
Original file line number Diff line number Diff line change
@@ -1,10 +1,10 @@
source 'https://rubygems.org'
ruby '2.3.0'

gem 'pry'
# Bundle edge Rails instead: gem 'rails', github: 'rails/rails'
gem 'rails', '4.2.6'
# Use postgresql as the database for Active Record
gem 'pg', '~> 0.15'

# Use SCSS for stylesheets
gem 'sass-rails', '~> 5.0'
# Use Uglifier as compressor for JavaScript assets
Expand All @@ -24,7 +24,11 @@ gem 'jbuilder', '~> 2.0'
gem 'sdoc', '~> 0.4.0', group: :doc

# Use ActiveModel has_secure_password
# gem 'bcrypt', '~> 3.1.7'
gem 'bcrypt', '~> 3.1.7'



gem 'traceroute'

# Use Unicorn as the app server
# gem 'unicorn'
Expand All @@ -35,13 +39,22 @@ gem 'sdoc', '~> 0.4.0', group: :doc
group :development, :test do
# Call 'byebug' anywhere in the code to stop execution and get a debugger console
gem 'byebug'
gem 'simplecov', '~> 0.11.2'
end

group :development do
# Access an IRB console on exception pages or by using <%= console %> in views
gem 'web-console', '~> 2.0'
gem "pry-rails"
gem "better_errors"
gem "binding_of_caller"
gem 'rails-erd'

# Spring speeds up development by keeping your application running in the background. Read more: https://github.com/rails/spring
gem 'spring'
end

group :production do
gem 'rails_12factor'
gem 'pg', '~> 0.15'
end
46 changes: 46 additions & 0 deletions Gemfile.lock
Original file line number Diff line number Diff line change
Expand Up @@ -37,10 +37,17 @@ GEM
thread_safe (~> 0.3, >= 0.3.4)
tzinfo (~> 1.1)
arel (6.0.3)
bcrypt (3.1.11)
better_errors (2.1.1)
coderay (>= 1.0.0)
erubis (>= 2.6.6)
rack (>= 0.9.0)
binding_of_caller (0.7.2)
debug_inspector (>= 0.0.1)
builder (3.2.2)
byebug (8.2.5)
choice (0.2.0)
coderay (1.1.1)
coffee-rails (4.1.1)
coffee-script (>= 2.2.0)
railties (>= 4.0.0, < 5.1.x)
Expand All @@ -50,6 +57,7 @@ GEM
coffee-script-source (1.10.0)
concurrent-ruby (1.0.1)
debug_inspector (0.0.2)
docile (1.1.5)
erubis (2.7.0)
execjs (2.6.0)
globalid (0.3.6)
Expand All @@ -67,6 +75,7 @@ GEM
nokogiri (>= 1.5.9)
mail (2.6.4)
mime-types (>= 1.16, < 4)
method_source (0.8.2)
mime-types (3.0)
mime-types-data (~> 3.2015)
mime-types-data (3.2016.0221)
Expand All @@ -76,6 +85,12 @@ GEM
nokogiri (1.6.7.2)
mini_portile2 (~> 2.0.0.rc2)
pg (0.18.4)
pry (0.10.3)
coderay (~> 1.1.0)
method_source (~> 0.8.1)
slop (~> 3.4)
pry-rails (0.3.4)
pry (>= 0.9.10)
rack (1.6.4)
rack-test (0.6.3)
rack (>= 1.0)
Expand All @@ -96,8 +111,18 @@ GEM
activesupport (>= 4.2.0.beta, < 5.0)
nokogiri (~> 1.6.0)
rails-deprecated_sanitizer (>= 1.0.1)
rails-erd (1.4.7)
activerecord (>= 3.2)
activesupport (>= 3.2)
choice (~> 0.2.0)
ruby-graphviz (~> 1.2)
rails-html-sanitizer (1.0.3)
loofah (~> 2.0)
rails_12factor (0.0.3)
rails_serve_static_assets
rails_stdout_logging
rails_serve_static_assets (0.0.5)
rails_stdout_logging (0.0.5)
railties (4.2.6)
actionpack (= 4.2.6)
activesupport (= 4.2.6)
Expand All @@ -106,6 +131,7 @@ GEM
rake (11.1.2)
rdoc (4.2.2)
json (~> 1.4)
ruby-graphviz (1.2.2)
sass (3.4.22)
sass-rails (5.0.4)
railties (>= 4.0.0, < 5.0)
Expand All @@ -116,6 +142,12 @@ GEM
sdoc (0.4.1)
json (~> 1.7, >= 1.7.7)
rdoc (~> 4.0)
simplecov (0.11.2)
docile (~> 1.1.0)
json (~> 1.8)
simplecov-html (~> 0.10.0)
simplecov-html (0.10.0)
slop (3.6.0)
spring (1.7.1)
sprockets (3.6.0)
concurrent-ruby (~> 1.0)
Expand All @@ -127,6 +159,8 @@ GEM
thor (0.19.1)
thread_safe (0.3.5)
tilt (2.0.2)
traceroute (0.5.0)
rails (>= 3.0.0)
turbolinks (2.5.3)
coffee-rails
tzinfo (1.2.2)
Expand All @@ -143,18 +177,30 @@ PLATFORMS
ruby

DEPENDENCIES
bcrypt (~> 3.1.7)
better_errors
binding_of_caller
byebug
coffee-rails (~> 4.1.0)
jbuilder (~> 2.0)
jquery-rails
pg (~> 0.15)
pry
pry-rails
rails (= 4.2.6)
rails-erd
rails_12factor
sass-rails (~> 5.0)
sdoc (~> 0.4.0)
simplecov (~> 0.11.2)
spring
traceroute
turbolinks
uglifier (>= 1.3.0)
web-console (~> 2.0)

RUBY VERSION
ruby 2.3.0p0

BUNDLED WITH
1.12.1
41 changes: 29 additions & 12 deletions README.md
Original file line number Diff line number Diff line change
Expand Up @@ -28,7 +28,7 @@
1. Have one person on your team fork/clone the project master as per usual
1. Add all other team members as collaborators
1. Each team member should clone the repo to their computer
1. Figure out your workflow for the project, re: Git and Task management
1. Figure out your workflow for the project, re: Git and Task management
1. Determine who will be the Stand Up Leader and Task Leader for the first week
1. Create a Trello board and ensure that all team members and instructors have access
1. Review the User Storie below and create Trello tasks to represent them
Expand All @@ -49,48 +49,65 @@ Build an online system for listing, selling, reviewing, and buying a wide variet
#### Guest User (Unauthenticated)
As a guest to the website (not signed in) I **can**:

- Browse all products
- Browse products by category
- Browse products by merchant (users)
- View any individual product with additional details
- Leave a review for a product providing:
- Browse all products <!-- product#index -->
- Browse products by category <!-- product#index -->
- Browse products by merchant (users) <!-- product#index -->
- View any individual product with additional details <!-- product#show -->
- Leave a review for a product providing: <!-- product/:id/review/create *no review nested under user -->
- A Text review
- A rating out of 5
- Add in-stock products to my cart
- Remove products from my cart
- Change the quantity of an existing product in my cart
- Purchase the items in my cart, providing:
- Add in-stock products to my cart <!-- order#add ??? -->
- Remove products from my cart <!-- order#remove ??? -->
- Change the quantity of an existing product in my cart <!-- order#update ??? -->
- Purchase the items in my cart, providing: <!-- order#checkout *custom route need a get and a post -->
<!-- get '/order/:id/cart/' => 'order#show' -->
- Email Address
- Mailing Address
- Name on credit card
- Credit card number
- Credit cart expiration
- Credit Card CVV (security code)
- Billing zip code
<!-- post '/order/:id/checkout/' => 'order#create' -->
- Purchasing an order makes the following changes:
- Reduces the number of inventory for each product
- Changes the order state from "pending" to "paid"
- Clears the current cart
- After purchasing an order, I can view a confirmation screen including:
<!-- have a cart and a controller for the cart, it would just be a show
this one will be an order#show (which is info down below). cart#add cart
session is like a database, but it's not stored. It will be stored in
the guests session, not a database. Maybe use the session controller for
the cart? Look up session for a cart. The user holds on to their cart
in the session -->
- Each item in the order with a quantity and line-item subtotal
- A link to the item description page
- Order total price
- DateTime the order was placed
- The current status of the order
- Sign up to be a merchant, providing:
- Sign up to be a merchant, providing: <!-- user#create, have a checkbox for
asking if they are a merchant, which then raises a flag and updates type -->
- Email Address
- Username
- Password (plain text passwords cannot be stored in the database)
- Password confirmation
- Sign in to my merchant account
<!-- User has a merchant_id? -->

As a guest I **cannot**:

- Add products to the cart that are out of stock
- View any link or page to manage any products
- View any link or page to manage any products <!-- -->
- View any of the account pages

<!-- if session user_id exists, then they can do things, if not,
then the person can only do certain things. All the things they can do are the above
if they try to do other things, redirect to log in? -->

#### Authenticated Users
<!-- Most of this bottom will used ternaries in different ways. If @user logout
else, log in. We will be checking @user a lot to see if they are signed in
with a user_id, or if it's just a session -->
As a signed-in user, I **can**:

- Do everything a guest user can do except for sign up and sign in
Expand Down
Binary file added app/assets/images/Baby_beard.jpg
Loading
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.
Binary file added app/assets/images/Beard_Bowl.jpg
Loading
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.
Binary file added app/assets/images/Glitter_Beard.jpg
Loading
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.
Binary file added app/assets/images/Headers.jpg
Loading
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.
Binary file added app/assets/images/Longboard_stroller.jpg
Loading
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.
Binary file added app/assets/images/Mustachifier.jpg
Loading
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.
Binary file added app/assets/images/SelfieShirt.jpg
Loading
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.
Binary file added app/assets/images/Subway_record_player.jpg
Loading
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.
Binary file added app/assets/images/baby_mason_bottle.jpg
Loading
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.
Binary file added app/assets/images/hipsterlogo.png
Loading
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.
Binary file added app/assets/images/hipsterly_logo_plain.png
Loading
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.
Binary file added app/assets/images/ryan.jpg
Loading
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.
Binary file added app/assets/images/stump.jpg
Loading
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.
3 changes: 3 additions & 0 deletions app/assets/javascripts/cart.coffee
Original file line number Diff line number Diff line change
@@ -0,0 +1,3 @@
# Place all the behaviors and hooks related to the matching controller here.
# All this logic will automatically be available in application.js.
# You can use CoffeeScript in this file: http://coffeescript.org/
3 changes: 3 additions & 0 deletions app/assets/javascripts/home.coffee
Original file line number Diff line number Diff line change
@@ -0,0 +1,3 @@
# Place all the behaviors and hooks related to the matching controller here.
# All this logic will automatically be available in application.js.
# You can use CoffeeScript in this file: http://coffeescript.org/
3 changes: 3 additions & 0 deletions app/assets/javascripts/order_items.coffee
Original file line number Diff line number Diff line change
@@ -0,0 +1,3 @@
# Place all the behaviors and hooks related to the matching controller here.
# All this logic will automatically be available in application.js.
# You can use CoffeeScript in this file: http://coffeescript.org/
3 changes: 3 additions & 0 deletions app/assets/javascripts/orders.coffee
Original file line number Diff line number Diff line change
@@ -0,0 +1,3 @@
# Place all the behaviors and hooks related to the matching controller here.
# All this logic will automatically be available in application.js.
# You can use CoffeeScript in this file: http://coffeescript.org/
3 changes: 3 additions & 0 deletions app/assets/javascripts/products.coffee
Original file line number Diff line number Diff line change
@@ -0,0 +1,3 @@
# Place all the behaviors and hooks related to the matching controller here.
# All this logic will automatically be available in application.js.
# You can use CoffeeScript in this file: http://coffeescript.org/
3 changes: 3 additions & 0 deletions app/assets/javascripts/reviews.coffee
Original file line number Diff line number Diff line change
@@ -0,0 +1,3 @@
# Place all the behaviors and hooks related to the matching controller here.
# All this logic will automatically be available in application.js.
# You can use CoffeeScript in this file: http://coffeescript.org/
3 changes: 3 additions & 0 deletions app/assets/javascripts/sessions.coffee
Original file line number Diff line number Diff line change
@@ -0,0 +1,3 @@
# Place all the behaviors and hooks related to the matching controller here.
# All this logic will automatically be available in application.js.
# You can use CoffeeScript in this file: http://coffeescript.org/
3 changes: 3 additions & 0 deletions app/assets/javascripts/users.coffee
Original file line number Diff line number Diff line change
@@ -0,0 +1,3 @@
# Place all the behaviors and hooks related to the matching controller here.
# All this logic will automatically be available in application.js.
# You can use CoffeeScript in this file: http://coffeescript.org/
Loading