A rails webshop rails app which is built for demonstrating shopping cart algorithm. Please note that this project is neither fully functioning nor complete.
These are the steps we followed as a team when working on this app:
- Setting up project
- Adding devise
- ADding navbar
- Generating models
- Adding seeds
- Adding action for creating new product
- Adding notification pop-ups
- Fixing seeds
- Adding Cloudinary
- Adding Factorygirl and Faker
- Adding shopping cart
- Adding tests
- Adding cart views
- Adding Order,-item model, productctrl,-index, cart
- Converting shopping cart into partial
- Fixing shopping cart
- Adding styling
- Adding new sweeds
- Adding searchbar
- User
- devise-defaults +
- admin:boolean
- teacher:boolean
- Profile
- first_name:string
- last_name:string
- photo:string
- user_id:integer
- Product
- name:string
- description:string
- price:numeric
- photo:string
- Order
- user_id:integer(belongs_to :user)
- total_price:numeric
- Orderitem
- order_id:integer(belongs_to :order)
- product_id:integer(belongs_to :product)
- quantity:integer
- price:numeric
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
For more information about using Devise, Faker, Factorygirl and Cloudinary, see these links: