Skip to content

DanDanilyuk/shopping_site

 
 

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

56 Commits
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 

Repository files navigation

Shopping Site

Shipping site built with Ruby On Rails.

By Dan Danilyuk

Description

A website that lets a user shop.

Improvements Made

AJAX

  1. Create a new README.
  2. Change name of folder and Databases
  3. Users are now able to add products to their shopping cart from the index page with AJAX. The item is be added to the shopping cart and the number of items in the cart (shown in the navbar) does update.
  4. Users are now able to click on a product and show/hide the product detail using AJAX. The product detail does include an image (using paperclip), the description, and any other fields you choose to add.
  5. Users are now able to remove items from the shopping cart without a page reload. The "delete" link results in the item being removed from the shopping cart and the total price being updated.

Additional Features

  1. Ensure that users can't order a negative number of items.
  2. Add product update and delete functionality for admins.
  3. Add password validations to ensure a user's password is sufficiently complex.
  4. Add Stripe so users can pay when finalizing orders.
  5. Add admin links to navbar so admins can easily add, update and delete products.
  6. Allow other than whole dollar amounts for admin product creation (for instance, 3.99).

Specs

  1. A admin should be able to view, add and remove posts.

Setup/Installation Requirements

  1. Open terminal with git, rails, and brew installed.
  2. _Navigate to desktop and Run git clone https://github.com/DanDanilyuk/went-to-bali-mwahaha __
  3. Run cd shopping_site
  4. Run brew install imagemagick
  5. Run bundle
  6. Run rails s
  7. Run rails db:create db:test:prepare
  8. Run rails db:reset
  9. _Navigate to http://localhost:3000/ __
  10. Enjoy The Website

Known Bugs

None

Future Functionality

  1. A working site.

Support and contact details

If you have any updates or suggestions please contact Dan Danilyuk or make a contribution to the repository.

License

MIT License

Copyright (c) 2017 Dan Danilyuk

About

A shopping site refactor project

Resources

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published

Languages

  • Ruby 75.5%
  • HTML 19.6%
  • JavaScript 2.5%
  • CSS 2.0%
  • CoffeeScript 0.4%