GithubHelp home page GithubHelp logo

theobtuseautodidact / little-shop-private-stache Goto Github PK

View Code? Open in Web Editor NEW

This project forked from bethsecor/little-shop-private-stache

0.0 2.0 0.0 21.62 MB

E-commerce store for mustaches.

Home Page: http://private-stache.herokuapp.com/

Ruby 19.56% CoffeeScript 0.22% JavaScript 73.00% CSS 1.50% HTML 5.71%

little-shop-private-stache's Introduction

Private Stache

Built with Ruby on Rails

Authors

Beth Secor, Steve Olson, Dan Winter, Lenny Meyerson

This project was created as a part of the curriculum for the Turing School of Software & Design.

Overview

This Rails application is an e-commerce store selling mustaches. It uses a session-based cart, authentication, and role-based authorization. An admin is able to perform CRUD functionality on the mustaches, categories, and orders.

Live Version

You can find a live version of this application on Heroku at: https://pure-bayou-1075.herokuapp.com/

Setup

To set up a local copy of this project, perform the following:

  1. Clone the repository: https://github.com/bethsecor/little-shop-private-stache.git
  2. cd into the project's directory
  3. Run bundle install
  4. Run rake db:create db:migrate db:seed to set up the postgres database and seed it with users, orders, categories, and staches.
  5. Run the application in the dev environment by running rails s

App Features

Users

Users can browse the staches available by category or view them all on one page. Each stache has an image, title, price, and description associated with it. Users can add any staches that are active to their cart. Users do not need to be signed in to browse the staches or add them to their cart. However, upon checkout, if a user is not signed in they will be asked to create an account or login before being allowed to check out. Users can also view any of their past orders and the order status.

Admins

Admins are the 'master user' of the site. An admin can add new staches and categories, as well as update or delete existing ones. They are also able to view and change the status of any order that has been placed through the site. Like a default user, they are also able to shop and place orders of their own.

Other Features

This app also has a very cool feature built by Dan Winter that allows a user to try on a mustache with the mustache camera. It uses their webcam to take a picture of them, overlays the mustache on their picture and shows them the result. This feature is unfortunately not available on Heroku, and has been taken down from production on digital ocean.

little-shop-private-stache's People

Contributors

danjwinter avatar bethsecor avatar steveoscar avatar theobtuseautodidact avatar

Watchers

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