Skip to content

A mini e-commerce app that boasts a catalog of outlandish yet trendy items that is integrated with Stripe and built with Ruby on Rails

Notifications You must be signed in to change notification settings

spencerjhamilton/Jungle

 
 

Repository files navigation

Jungle

Jungle is a mini e-commerce application built with Rails 4.2 for purposes of teaching Rails by example. Jungle was built with users in mind from the main catalog to each products detail page. Some special features of Jungle is its rating system, email confirmation capabilities, and authentication processes:

  1. The rating system built into Jungle adjusts to changes in ratings in real time and can be viewed on both the catalog page and each product detail page
  2. Jungle is set up with Action Mailer to send out simple email confirmations to users upon purchase
  3. While users do not need to be signed in to view the products catalog and respective detail pages, a user must sign in to submit a review or delete a review and admin users have an extra step of authentication to access the create product and create category pages

Captures

"Product Catalog: Logged-In User" "Product Catelog Continued: Multiple Badges" "Product Details Page: User Not Logged In" "Purchase Window"

Setup

  1. Fork & Clone
  2. Run bundle install to install dependencies
  3. Create config/database.yml by copying config/database.example.yml
  4. Create config/secrets.yml by copying config/secrets.example.yml
  5. Run bin/rake db:reset to create, load and seed db
  6. Create .env file based on .env.example
  7. Sign up for a Stripe account
  8. Put Stripe (test) keys into appropriate .env vars
  9. Run bin/rails s -b 0.0.0.0 to start the server

Stripe Testing

Use Credit Card # 4111 1111 1111 1111 for testing success scenarios.

More information in their docs: https://stripe.com/docs/testing#cards

Dependencies

About

A mini e-commerce app that boasts a catalog of outlandish yet trendy items that is integrated with Stripe and built with Ruby on Rails

Topics

Resources

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published

Languages

  • Ruby 71.7%
  • HTML 24.8%
  • CSS 2.6%
  • JavaScript 0.9%