/shopsy

A single-page ecommerce clone built using Ruby on Rails & React/Redux.

Primary LanguageRuby

README

Shopsy is a single page web application inspired by Etsy. It was build with a Ruby on Rails backend and a React / Redux frontend. Check it out here

Features

Responsive

  • @media queries utilized for a smooth mobile browsing experience.

Authentication

  • Frontend uses react-modal to render the session form.

  • Passwords are not stored in the databse as strings. Shopsy utilizes BCrypt to hash and salt the passwords for secure storage.
class User < ApplicationRecord
#...

def password=(password)
  @password = password
  self.password_digest = BCrypt::Password.create(password)
end

def is_password?(password)
  BCrypt::Password.new(self.password_digest).is_password?(password)
end

Product Listing

  • Users can easily navigate to products

Comments

  • Users can create, edit and delete comments on the product show page while logged in.

Search

  • Users can search products by name and description.

Cart

  • Users can add and remove products.

Future Features

Categories

  • This will allow users to go directly to product category via the categories nav.

Product creation

  • Users will be able to create and edit products via a user page.

Enhanced product images

  • Product page will have detail images and a lightbox.