Giter Site home page Giter Site logo

went-to-bali-mwahaha's Introduction

E-Commerce Application

This application is a cloned e-commerce site created by Epicodus. The application uses bcrypt and materialize with seeded faker data. AJAX functionality allows users to add to their cart from the all products listings, show/hide the product details, and remove items from their cart without a full page reload.

Installation/Serving

run these commands from terminal:

  • git clone https://github.com/saschultz/went-to-bali-mwahaha
  • cd went-to-bali-mwahaha
  • bundle install
  • rails db:create
  • rails db:reset
  • rails s

Refactoring Changes

Code Review Refactors:

  1. flash messages for signing up, signing in and signing out
  2. users cannot order a negative number of items
  3. product validations
  4. password complexity validation
  5. admin has CRUD functionality for products
  6. flash messages for admin CRUD

Gemfile updates:

  • gem 'jquery-rails'
  • gem 'bootstrap-sass'
  • gem 'rspec-rails'
  • gem 'launchy'
  • gem 'shoulda-matchers'
  • gem 'shoulda-callback-matchers'
  • gem 'capybara'
  • gem 'factory_girl_rails'
  • gem 'simplecov', require: false

Database updates:

  • added migration for storing image in products table
  • added faker data for image in seeds.rb

went-to-bali-mwahaha's People

Contributors

franzknupfer avatar

Watchers

James Cloos 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.