Skip to content

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

Notifications You must be signed in to change notification settings

ngunner15/jungle-rails

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

62 Commits
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 

Repository files navigation

Jungle

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

Screenshots

Landing Page

Landing page, with an overview of all available products. "landing page"

Product Detail Page

Description page for a single item "product detail page"

Checkout Page

Displays content in my cart "checkout page"

Order Summary Page

Displays order summary after payment success "order summary page"

Login Page

"login page"

SignUp Page

"signup page"

Admin Login Popup

Login popup for admin "admin login"

Admin Dashboard

Overview of categories and products available. "admin dashboard"

Admin Categories

Manage the available categories. "admin categories"

Admin Products

Manage the available products. "admin products"

Admin Sales

Manage the sales. "admin sales"

Setup

  1. Run bundle install to install dependencies
  2. Create config/database.yml by copying config/database.example.yml
  3. Create config/secrets.yml by copying config/secrets.example.yml
  4. Run bin/rake db:reset to create, load and seed db
  5. Create .env file based on .env.example
  6. Sign up for a Stripe account
  7. Put Stripe (test) keys into appropriate .env vars
  8. Run bin/rails s 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

Tests

  • Capybara
  • RSpec

About

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

Resources

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published