Skip to content

An e-commerce Rails app built for learning Rails through example

Notifications You must be signed in to change notification settings

csx773/Jungle-App

 
 

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

82 Commits
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 

Repository files navigation

Jungle

A mini e-commerce application built with Rails 4.2 for purposes of teaching Rails by example.

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
  10. Open browser and go to http://localhost:3000/

Features

  1. Shows sold out badge when an product quantity is 0
  2. Only Admin can do the following (after admin authentication):
    • List and create new categories
    • List and add new products using into a category
    • Change the quanitiy of a product
  3. User sign up, login, and authentication on certain pages
  4. Visitors can browse any page
  5. Shows order summary after checking out
  6. Email of order summary will be sent after checkout
  7. (User only) Can write reviews, rate a product, and delete own review

Screenshots

"Home page"

"Cart order"

"credit card"

"Order confirmation"

"Category page"

"Admin Products"

"Admin Category"

"Product review"

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

An e-commerce Rails app built for learning Rails through example

Resources

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published

Languages

  • Ruby 72.8%
  • HTML 23.9%
  • CSS 2.4%
  • JavaScript 0.9%