Skip to content

A rails webshop rails app which is built for demonstrating shopping cart algorithm.

Notifications You must be signed in to change notification settings

Cesurhan/bigdreams

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

82 Commits
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 

Repository files navigation

Bigdreams

A rails webshop rails app which is built for demonstrating shopping cart algorithm. Please note that this project is neither fully functioning nor complete.

screen shot 2017-05-07 at 12 17 28

Steps

These are the steps we followed as a team when working on this app:

  1. Setting up project
  2. Adding devise
  3. ADding navbar
  4. Generating models
  5. Adding seeds
  6. Adding action for creating new product
  7. Adding notification pop-ups
  8. Fixing seeds
  9. Adding Cloudinary
  10. Adding Factorygirl and Faker
  11. Adding shopping cart
  12. Adding tests
  13. Adding cart views
  14. Adding Order,-item model, productctrl,-index, cart
  15. Converting shopping cart into partial
  16. Fixing shopping cart
  17. Adding styling
  18. Adding new sweeds
  19. Adding searchbar

Database Structure

  1. User
  • devise-defaults +
  • admin:boolean
  • teacher:boolean
  1. Profile
  • first_name:string
  • last_name:string
  • photo:string
  • user_id:integer
  1. Product
  • name:string
  • description:string
  • price:numeric
  • photo:string
  1. Order
  • user_id:integer(belongs_to :user)
  • total_price:numeric
  1. Orderitem
  • order_id:integer(belongs_to :order)
  • product_id:integer(belongs_to :product)
  • quantity:integer
  • price:numeric

Running Locally

Make sure you have Ruby and Bundler installed.

git clone git@github.com:Cesurhan/bigdreams.git
cd bigdreams
bundle install
rails db:create db:migrate db:seed
rails server

Related documentation

For more information about using Devise, Faker, Factorygirl and Cloudinary, see these links:

About

A rails webshop rails app which is built for demonstrating shopping cart algorithm.

Topics

Resources

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published

Contributors 4

  •  
  •  
  •  
  •