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

Alyssa and Briana love Farmers Markets! #53

Open
wants to merge 141 commits into
base: master
Choose a base branch
from
Open
Show file tree
Hide file tree
Changes from all commits
Commits
Show all changes
141 commits
Select commit Hold shift + click to select a range
5cbb024
Initial commit
alyssahursh Oct 4, 2016
04eb7a4
Added three gems to Gemfile
alyssahursh Oct 4, 2016
b57cf37
Added models for market, vendor, product, and sale
brianaeng Oct 4, 2016
e26250b
Saving gemfile.lock
alyssahursh Oct 4, 2016
cb875e0
Merge branch 'master' of https://github.com/alyssahursh/FarMarRails
alyssahursh Oct 4, 2016
480ac07
Added controllers for market, vendor, sale, and product
brianaeng Oct 4, 2016
f212bde
Created CSV read-in for markets, updated zip to string for read-in
alyssahursh Oct 4, 2016
f5d8508
Merge pull request #1 from alyssahursh/seeds
alyssahursh Oct 4, 2016
4afd325
Merge pull request #2 from alyssahursh/controllers
brianaeng Oct 4, 2016
005da12
Seeded vendors
brianaeng Oct 4, 2016
ab7aaf3
Merge pull request #3 from alyssahursh/vendor_seed
brianaeng Oct 4, 2016
e3a0447
Seeded sales and products
brianaeng Oct 4, 2016
3e921fc
Merge pull request #4 from alyssahursh/seeds
brianaeng Oct 4, 2016
11be6af
Added pages controller and created resource routes for all controllers
alyssahursh Oct 4, 2016
4a2052d
Merge pull request #5 from alyssahursh/resources
alyssahursh Oct 4, 2016
14b1509
Adding model relationships
brianaeng Oct 4, 2016
c6828c9
Merge pull request #6 from alyssahursh/relationships
brianaeng Oct 4, 2016
e902ffc
Added methods for market controller
brianaeng Oct 5, 2016
b4379d5
Added thoughts on how to make find method DRY...er
brianaeng Oct 5, 2016
ff8b850
Added methods for all controllers
brianaeng Oct 5, 2016
d4592f4
Merge pull request #7 from alyssahursh/methods_start
brianaeng Oct 5, 2016
4259df2
Added reset.css
alyssahursh Oct 5, 2016
b0765b7
Regenerated the controllers since they were incorrectly named and tes…
brianaeng Oct 5, 2016
1e2769d
Added market vendor and admin pages
alyssahursh Oct 5, 2016
a488233
Updated pages routes
alyssahursh Oct 5, 2016
af9622c
Began creating navbar
alyssahursh Oct 5, 2016
373a78e
Merge pull request #9 from alyssahursh/controllers_update
alyssahursh Oct 5, 2016
02066f8
Basic navbar complete
alyssahursh Oct 5, 2016
616d639
Added view for displaying all markets
brianaeng Oct 5, 2016
cd84e98
Created view for each market, showing market details and vendors
brianaeng Oct 5, 2016
e619960
Added view for displaying all products
brianaeng Oct 5, 2016
0c2b1c5
Started view to show all sales, need to refine so it only shows sales…
brianaeng Oct 5, 2016
ff4c151
Added view for displaying all vendors
brianaeng Oct 5, 2016
b968441
Created view for each vendor, showng vendor details, their products, …
brianaeng Oct 5, 2016
881d10b
Navbar design upgrades
alyssahursh Oct 5, 2016
c74c758
Created new/edit form for market
brianaeng Oct 5, 2016
5dcc2d4
Created new/edit form for product
brianaeng Oct 5, 2016
dc18554
Created new/edit form for sale
brianaeng Oct 5, 2016
44500af
Created new/edit form for vendor
brianaeng Oct 5, 2016
df2b303
Added link to go to any given market
brianaeng Oct 5, 2016
46cd428
Rendered partial form for markets
brianaeng Oct 5, 2016
9b66c01
Rendered partial form for products
brianaeng Oct 5, 2016
f02b4e4
Rendered partial form for sales
brianaeng Oct 5, 2016
bd75e50
Added link to any specific vendor
brianaeng Oct 5, 2016
970faae
Rendered partial form for vendors
brianaeng Oct 5, 2016
f497c62
Added ids to the index pages of markets, products, sales, vendors
brianaeng Oct 5, 2016
c70da08
Added individual show page for products
brianaeng Oct 5, 2016
0c01a1e
Beautified search bar on homepage
alyssahursh Oct 5, 2016
eb24c0e
Merge pull request #10 from alyssahursh/testing_views
alyssahursh Oct 5, 2016
c8c07cf
Merge pull request #11 from alyssahursh/styles
alyssahursh Oct 5, 2016
788d9b9
Added ransack gem for search
brianaeng Oct 5, 2016
f63576d
Merge pull request #12 from alyssahursh/search_testing
brianaeng Oct 5, 2016
c524cb5
Sidetracked to fix seed issue after gem install
alyssahursh Oct 6, 2016
479e424
Merge pull request #13 from alyssahursh/styles
alyssahursh Oct 6, 2016
a031b3b
Fixed navbar links
alyssahursh Oct 6, 2016
dbc1a42
Search is pulling the right results but I'm not sure how?
brianaeng Oct 6, 2016
71c25e4
Search stopped working after I closed last time, seems to be fixed wi…
brianaeng Oct 6, 2016
128e47b
Resolved search button propagation
alyssahursh Oct 6, 2016
020afc8
Market index html/css complete
alyssahursh Oct 6, 2016
0460a62
Added submit button
brianaeng Oct 6, 2016
46df09d
Set search variables for each type of search
brianaeng Oct 6, 2016
687c795
Renamed variables so they're specific to markets
brianaeng Oct 6, 2016
61f9cb9
Added product search
brianaeng Oct 6, 2016
9b3e865
Added vendor search
brianaeng Oct 6, 2016
c71583c
Added routes for new searches
brianaeng Oct 6, 2016
a4d4945
Halfway implemented homepage buttons
alyssahursh Oct 6, 2016
cb0922b
Merge pull request #14 from alyssahursh/styles
alyssahursh Oct 6, 2016
6334de9
Merging searching branch with master
brianaeng Oct 6, 2016
50f05cc
Moved forms to center of page
alyssahursh Oct 6, 2016
49a6cb2
Fixed home search bar
alyssahursh Oct 6, 2016
cad8e3c
Search bar functions for vendor product and market
alyssahursh Oct 6, 2016
73a1f76
Updated markets/vendors edit forms so they work, added redirects
brianaeng Oct 6, 2016
6ee5722
Added new page to spit out a vendor's sales
brianaeng Oct 6, 2016
43f0e5b
Added create a sale button to vendor's sales page
brianaeng Oct 6, 2016
b1b5168
Search bar on markets and vendors index
alyssahursh Oct 6, 2016
8c6ac91
Added add product and add sale to specified vendor page
brianaeng Oct 6, 2016
4c75518
Added form to create vendor and button to delete vendor to the market…
brianaeng Oct 6, 2016
0839a7f
Got rid of add button that isn't needed anymore
brianaeng Oct 6, 2016
d3e59b6
Market login functions
alyssahursh Oct 6, 2016
6a27664
Added button to delete market from a specific market page, redirects …
brianaeng Oct 6, 2016
35dfb71
Vendor login functions
alyssahursh Oct 6, 2016
7d40797
Merge pull request #16 from alyssahursh/styles
alyssahursh Oct 6, 2016
97e50bc
Merge pull request #17 from alyssahursh/forms_testing
brianaeng Oct 6, 2016
da224d8
Trying to move all the things elsewhere
brianaeng Oct 6, 2016
5fe10ce
Products style and search complete
alyssahursh Oct 6, 2016
7811731
Handled non-numeric login
alyssahursh Oct 6, 2016
ccb7321
Changed paragraph styles
alyssahursh Oct 6, 2016
9840580
Merge pull request #18 from alyssahursh/styles
alyssahursh Oct 6, 2016
8331cda
Added new all page for market, small text fixes
brianaeng Oct 6, 2016
88c1377
Merge conflict fixed
brianaeng Oct 6, 2016
07d787d
Search is partially working, if no value is entered it returns all. S…
brianaeng Oct 7, 2016
cfa5186
Updated Gemfile for Heroku
alyssahursh Oct 7, 2016
67dc5e4
Added gemfile.lock for heroku
alyssahursh Oct 7, 2016
1311879
Added tables for vendor and market data
alyssahursh Oct 7, 2016
2c9696b
changed homepage image link
alyssahursh Oct 7, 2016
98f1dde
Changed config assets compile to true
alyssahursh Oct 7, 2016
934a72d
Fixed homepage image
alyssahursh Oct 7, 2016
fa59cc0
Removed ids from database seed
alyssahursh Oct 7, 2016
b74ef41
Search works better now
brianaeng Oct 7, 2016
e036573
Merge pull request #20 from alyssahursh/styles
alyssahursh Oct 7, 2016
e7860e7
Merge pull request #21 from alyssahursh/guest_views
brianaeng Oct 7, 2016
c516bea
Added guest view for market
brianaeng Oct 7, 2016
11b3383
Cleaned up products index
brianaeng Oct 7, 2016
d5747bf
Added guest views for vendor-related things (vendor show and vendors …
brianaeng Oct 7, 2016
b44d899
Updated/added routes for updated/new views
brianaeng Oct 7, 2016
ada5c2d
Added necessary elements to the admin page
brianaeng Oct 7, 2016
bfdf698
Added total sales amount
brianaeng Oct 7, 2016
fc7b5fc
Implemented super hacky way to get assigned vendor id, should revisit…
brianaeng Oct 7, 2016
8953201
Changing routing based on user type track (ex: guest only get view on…
brianaeng Oct 7, 2016
ecb2507
Committing to merge
alyssahursh Oct 7, 2016
14be43d
Merge pull request #22 from alyssahursh/styles
alyssahursh Oct 7, 2016
5d28e65
Merge pull request #23 from alyssahursh/guest_views
brianaeng Oct 7, 2016
cc02106
Added temp styling to see things and removed guest show for sales (si…
brianaeng Oct 7, 2016
8fa9c06
Fixing market and vendor login on admin page
brianaeng Oct 7, 2016
ec18230
Partial refactor of CSS
alyssahursh Oct 7, 2016
ccd1a14
Merge pull request #24 from alyssahursh/styles
alyssahursh Oct 7, 2016
69b2ec4
Fixing merge conflict
brianaeng Oct 7, 2016
17763c6
Fixed guest views
alyssahursh Oct 7, 2016
3861974
Show market and vendor table layout, sale page updates
alyssahursh Oct 8, 2016
cef06c8
Oof, this one hurt but finally figured it out. Got the render partial…
brianaeng Oct 8, 2016
a2133f4
Made a new partial view for the see all buttons at the bottom of the …
brianaeng Oct 8, 2016
66d5224
DRYing up code
brianaeng Oct 8, 2016
89f1a4a
DRYing up code
brianaeng Oct 8, 2016
73b3dd7
Merge pull request #26 from alyssahursh/final_touches
alyssahursh Oct 8, 2016
8cccabb
Moved new market form to admin page
alyssahursh Oct 8, 2016
675edba
styled market form on admin page
alyssahursh Oct 8, 2016
1f7ed61
Separate page edit forms for market and vendor
alyssahursh Oct 8, 2016
40030d3
Add sale form on view sale page
alyssahursh Oct 8, 2016
bbd8b5d
styled sale form and sale view page
alyssahursh Oct 8, 2016
ae3e092
Add files via upload
alyssahursh May 2, 2017
8498004
Update README.md
alyssahursh May 2, 2017
2ba11f5
Update README.md
alyssahursh May 2, 2017
0fe0608
Update README.md
alyssahursh May 2, 2017
f27fab4
Delete Farmar.png
alyssahursh May 2, 2017
772bdbc
Add files via upload
alyssahursh May 2, 2017
292b178
Delete Farmar.png
alyssahursh May 2, 2017
9df3431
Add files via upload
alyssahursh May 2, 2017
72713ca
Delete Farmar.png
alyssahursh May 2, 2017
e9febba
Add files via upload
alyssahursh May 2, 2017
55f14f9
Update README.md
alyssahursh May 2, 2017
32880fc
Update README.md
alyssahursh May 2, 2017
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
18 changes: 17 additions & 1 deletion .gitignore
Original file line number Diff line number Diff line change
@@ -1 +1,17 @@
.DS_Store
# See https://help.github.com/articles/ignoring-files for more about ignoring files.
#
# If you find yourself ignoring temporary files generated by your text editor
# or operating system, you probably want to add a global ignore instead:
# git config --global core.excludesfile '~/.gitignore_global'

# Ignore bundler config.
/.bundle

# Ignore the default SQLite database.
/db/*.sqlite3
/db/*.sqlite3-journal

# Ignore all logfiles and tempfiles.
/log/*
!/log/.keep
/tmp
Binary file added FarmarSS.png
Loading
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.
57 changes: 57 additions & 0 deletions Gemfile
Original file line number Diff line number Diff line change
@@ -0,0 +1,57 @@
source 'https://rubygems.org'

#Gem for searching
gem 'ransack'
# Bundle edge Rails instead: gem 'rails', github: 'rails/rails'
gem 'rails', '4.2.7'
# Use Awesome Print for better printing
gem 'awesome_print', require: 'ap'
# Use Better Errors for erro handling
gem 'better_errors'
# Use Quiet Assets for server log handling
gem 'quiet_assets', group: :development
# Use sqlite3 as the database for Active Record
gem 'sqlite3', group: [:development, :test]
# Use SCSS for stylesheets
gem 'sass-rails', '~> 5.0'
# Use Uglifier as compressor for JavaScript assets
gem 'uglifier', '>= 1.3.0'
# Use CoffeeScript for .coffee assets and views
gem 'coffee-rails', '~> 4.1.0'
# See https://github.com/rails/execjs#readme for more supported runtimes
# gem 'therubyracer', platforms: :ruby

# Use jquery as the JavaScript library
gem 'jquery-rails'
# Turbolinks makes following links in your web application faster. Read more: https://github.com/rails/turbolinks
gem 'turbolinks'
# Build JSON APIs with ease. Read more: https://github.com/rails/jbuilder
gem 'jbuilder', '~> 2.0'
# bundle exec rake doc:rails generates the API under doc/api.
gem 'sdoc', '~> 0.4.0', group: :doc

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

# Use Unicorn as the app server
# gem 'unicorn'

# Use Capistrano for deployment
# gem 'capistrano-rails', group: :development

# Use these gems for heroku
gem 'pg', group: :production
gem 'rails_12factor', group: :production

group :development, :test do
# Call 'byebug' anywhere in the code to stop execution and get a debugger console
gem 'byebug'
end

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

# Spring speeds up development by keeping your application running in the background. Read more: https://github.com/rails/spring
gem 'spring'
end
190 changes: 190 additions & 0 deletions Gemfile.lock
Original file line number Diff line number Diff line change
@@ -0,0 +1,190 @@
GEM
remote: https://rubygems.org/
specs:
actionmailer (4.2.7)
actionpack (= 4.2.7)
actionview (= 4.2.7)
activejob (= 4.2.7)
mail (~> 2.5, >= 2.5.4)
rails-dom-testing (~> 1.0, >= 1.0.5)
actionpack (4.2.7)
actionview (= 4.2.7)
activesupport (= 4.2.7)
rack (~> 1.6)
rack-test (~> 0.6.2)
rails-dom-testing (~> 1.0, >= 1.0.5)
rails-html-sanitizer (~> 1.0, >= 1.0.2)
actionview (4.2.7)
activesupport (= 4.2.7)
builder (~> 3.1)
erubis (~> 2.7.0)
rails-dom-testing (~> 1.0, >= 1.0.5)
rails-html-sanitizer (~> 1.0, >= 1.0.2)
activejob (4.2.7)
activesupport (= 4.2.7)
globalid (>= 0.3.0)
activemodel (4.2.7)
activesupport (= 4.2.7)
builder (~> 3.1)
activerecord (4.2.7)
activemodel (= 4.2.7)
activesupport (= 4.2.7)
arel (~> 6.0)
activesupport (4.2.7)
i18n (~> 0.7)
json (~> 1.7, >= 1.7.7)
minitest (~> 5.1)
thread_safe (~> 0.3, >= 0.3.4)
tzinfo (~> 1.1)
arel (6.0.3)
awesome_print (1.7.0)
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 (9.0.6)
coderay (1.1.1)
coffee-rails (4.1.1)
coffee-script (>= 2.2.0)
railties (>= 4.0.0, < 5.1.x)
coffee-script (2.4.1)
coffee-script-source
execjs
coffee-script-source (1.10.0)
concurrent-ruby (1.0.2)
debug_inspector (0.0.2)
erubis (2.7.0)
execjs (2.7.0)
globalid (0.3.7)
activesupport (>= 4.1.0)
i18n (0.7.0)
jbuilder (2.6.0)
activesupport (>= 3.0.0, < 5.1)
multi_json (~> 1.2)
jquery-rails (4.2.1)
rails-dom-testing (>= 1, < 3)
railties (>= 4.2.0)
thor (>= 0.14, < 2.0)
json (1.8.3)
loofah (2.0.3)
nokogiri (>= 1.5.9)
mail (2.6.4)
mime-types (>= 1.16, < 4)
mime-types (3.1)
mime-types-data (~> 3.2015)
mime-types-data (3.2016.0521)
mini_portile2 (2.1.0)
minitest (5.9.1)
multi_json (1.12.1)
nokogiri (1.6.8.1)
mini_portile2 (~> 2.1.0)
pg (0.19.0)
polyamorous (1.3.1)
activerecord (>= 3.0)
quiet_assets (1.1.0)
railties (>= 3.1, < 5.0)
rack (1.6.4)
rack-test (0.6.3)
rack (>= 1.0)
rails (4.2.7)
actionmailer (= 4.2.7)
actionpack (= 4.2.7)
actionview (= 4.2.7)
activejob (= 4.2.7)
activemodel (= 4.2.7)
activerecord (= 4.2.7)
activesupport (= 4.2.7)
bundler (>= 1.3.0, < 2.0)
railties (= 4.2.7)
sprockets-rails
rails-deprecated_sanitizer (1.0.3)
activesupport (>= 4.2.0.alpha)
rails-dom-testing (1.0.7)
activesupport (>= 4.2.0.beta, < 5.0)
nokogiri (~> 1.6.0)
rails-deprecated_sanitizer (>= 1.0.1)
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.7)
actionpack (= 4.2.7)
activesupport (= 4.2.7)
rake (>= 0.8.7)
thor (>= 0.18.1, < 2.0)
rake (11.3.0)
ransack (1.8.2)
actionpack (>= 3.0)
activerecord (>= 3.0)
activesupport (>= 3.0)
i18n
polyamorous (~> 1.3)
rdoc (4.2.2)
json (~> 1.4)
sass (3.4.22)
sass-rails (5.0.6)
railties (>= 4.0.0, < 6)
sass (~> 3.1)
sprockets (>= 2.8, < 4.0)
sprockets-rails (>= 2.0, < 4.0)
tilt (>= 1.1, < 3)
sdoc (0.4.1)
json (~> 1.7, >= 1.7.7)
rdoc (~> 4.0)
spring (2.0.0)
activesupport (>= 4.2)
sprockets (3.7.0)
concurrent-ruby (~> 1.0)
rack (> 1, < 3)
sprockets-rails (3.2.0)
actionpack (>= 4.0)
activesupport (>= 4.0)
sprockets (>= 3.0.0)
sqlite3 (1.3.11)
thor (0.19.1)
thread_safe (0.3.5)
tilt (2.0.5)
turbolinks (5.0.1)
turbolinks-source (~> 5)
turbolinks-source (5.0.0)
tzinfo (1.2.2)
thread_safe (~> 0.1)
uglifier (3.0.2)
execjs (>= 0.3.0, < 3)
web-console (2.3.0)
activemodel (>= 4.0)
binding_of_caller (>= 0.7.2)
railties (>= 4.0)
sprockets-rails (>= 2.0, < 4.0)

PLATFORMS
ruby

DEPENDENCIES
awesome_print
better_errors
byebug
coffee-rails (~> 4.1.0)
jbuilder (~> 2.0)
jquery-rails
pg
quiet_assets
rails (= 4.2.7)
rails_12factor
ransack
sass-rails (~> 5.0)
sdoc (~> 0.4.0)
spring
sqlite3
turbolinks
uglifier (>= 1.3.0)
web-console (~> 2.0)

BUNDLED WITH
1.13.1
64 changes: 21 additions & 43 deletions README.md
Original file line number Diff line number Diff line change
@@ -1,58 +1,36 @@
# FarMar Rails
Build a database backend application to view, create, and manage farmers markets as well as their vendors, products, and sales.
In this implementation we'll be seeding with static data, and also building a tool to allow markets and/or vendors to sign up and add their own data.
# Farmers Market Database
A Ruby on Rails web application built by [Briana Eng](https://www.github.com/brianaeng) and [Alyssa Hursh](https://www.github.com/alyssahursh). Our first Rails application, with a SQLite database seeded by CSV import. Interact with it [here](https://farmar-app.herokuapp.com). (This application is deployed on Heroku, so you may need to give the site a minute to wake up the server.)

As you are using ActiveRecord to access the database compare the methods that are given to those you had to create in the CSV implementation of FarMar.
![Farmar screen shots](/FarmarSS.png?raw=true "Farmar screen shots")

This project is meant to be exploratory. Take time to try to dive into each piece of Rails (routes, controllers, models, views). This project is built so that you and your partner can create the waves yourself based on the dependencies of the requirements given.

## Best Practices
- Use git relentlessly
- Pair program on difficult problems and to share learning experiences
## Technologies
* Primary language: Ruby 2.3.1
* Framework: Rails 4.7.2
* Database: SQLite
* Database seeding from CSV import
* HTML/CSS
* Deployed on Heroku.

## Baseline
Before you start writing _any_ code:
## Successes
* We worked very well together, splitting up front-end and back-end work to avoid merge conflicts and maintain project velocity. We were able to break the project into micro tasks and checked in with each other frequently. Well-matched communications styles made this project especially enjoyable.
* We created a mock login feature, redirecting to a "logged in" view from certain ingresses (we hadn't yet learned user authentication).
* The layout and design turned out quite well (especially given that this was our second project with substantial HTML/CSS).

- Review the requirements with your partner
- Create a Trello board
- Organize your tasks/stories
- Discuss who will do which tasks and when you will target completion
- What things should be done together as pairs vs individually?
- Organize your tasks/stories into iterations (a.k.a waves)
- Create a data diagram based on the original data [specification](https://github.com/Ada-C6/FarMar)

Once the above is complete, this project:

- requires a shared repo with your partner as a collaborator
- requires you to create a Rails application
- conform to Rails conventions on naming and inflection
- by using `rails new .` you will create a new rails app _inside_ of the fork folder instead of creating a _new_ folder for your rails app

**Your team shall submit a pull request with a link to your Trello board once you are done with the baseline which shall be reviewed before moving onto implementing the requirements**

## Requirements
However far you and your partner get, the application should have, at a minimum, the following features:
- Seeded data in your database from the original CSV files
- Multiple Active Record models
- RESTful routing
- Deployed application to Heroku
- A "look and feel" that will make you and your partner happy!

## User Stories
## User Stories Implemented

### Overall
- As a user, when I visit "/", I can choose whether I want to act as a Market or a Vendor
- As a user, I can view all Markets
- As a user, I can view a specific Market, viewing it's attributes as well as a list of it's vendors
- As a user, I can view a specific Market, viewing its attributes as well as a list of its vendors

### Market
- As a market, I can create or edit a Market
- As a market, I can create, edit, or delete any Vendor
- As a market, I can create or edit my Market
- As a market, I can create, edit, or delete any Vendors

### Vendor
- As a vendor, I can create, edit, or delete my Products
- As a vendor, I can create a Sale for one of my Products
- As a vendor, I can see a list of my Sales
- As a vendor, I can see a total of all of my Sales
- As a vendor, I can see a list of my Sales for the current month
- As a vendor, I can see a total of my Sales for the current month

### Admin
- As an admin, I can add add Markets
28 changes: 28 additions & 0 deletions README.rdoc
Original file line number Diff line number Diff line change
@@ -0,0 +1,28 @@
== README

This README would normally document whatever steps are necessary to get the
application up and running.

Things you may want to cover:

* Ruby version

* System dependencies

* Configuration

* Database creation

* Database initialization

* How to run the test suite

* Services (job queues, cache servers, search engines, etc.)

* Deployment instructions

* ...


Please feel free to use a different markup language if you do not plan to run
<tt>rake doc:app</tt>.
6 changes: 6 additions & 0 deletions Rakefile
Original file line number Diff line number Diff line change
@@ -0,0 +1,6 @@
# Add your own tasks in files placed in lib/tasks ending in .rake,
# for example lib/tasks/capistrano.rake, and they will automatically be available to Rake.

require File.expand_path('../config/application', __FILE__)

Rails.application.load_tasks
Empty file added app/assets/images/.keep
Empty file.
Binary file added app/assets/images/Market-logo-black.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/Market-logo-white.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/Vendor-logo-black.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/Vendor-logo-white.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/admin.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/cabbage.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/food-board.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/market-banner.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/market-splash.jpg
Loading
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.
Loading