Skip to content

Latest commit

 

History

History
66 lines (42 loc) · 2.08 KB

README.md

File metadata and controls

66 lines (42 loc) · 2.08 KB

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