Giter Site home page Giter Site logo

shopping_site's Introduction

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

shopping_site's People

Contributors

dandanilyuk avatar franzknupfer avatar

Recommend Projects

  • React photo React

    A declarative, efficient, and flexible JavaScript library for building user interfaces.

  • Vue.js photo Vue.js

    ๐Ÿ–– Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.

  • Typescript photo Typescript

    TypeScript is a superset of JavaScript that compiles to clean JavaScript output.

  • TensorFlow photo TensorFlow

    An Open Source Machine Learning Framework for Everyone

  • Django photo Django

    The Web framework for perfectionists with deadlines.

  • D3 photo D3

    Bring data to life with SVG, Canvas and HTML. ๐Ÿ“Š๐Ÿ“ˆ๐ŸŽ‰

Recommend Topics

  • javascript

    JavaScript (JS) is a lightweight interpreted programming language with first-class functions.

  • web

    Some thing interesting about web. New door for the world.

  • server

    A server is a program made to process requests and deliver data to clients.

  • Machine learning

    Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.

  • Game

    Some thing interesting about game, make everyone happy.

Recommend Org

  • Facebook photo Facebook

    We are working to build community through open source technology. NB: members must have two-factor auth.

  • Microsoft photo Microsoft

    Open source projects and samples from Microsoft.

  • Google photo Google

    Google โค๏ธ Open Source for everyone.

  • D3 photo D3

    Data-Driven Documents codes.