Skip to content

hildakh/jungle-rails

Repository files navigation

Jungle

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

Demo

jungle.mp4

Screenshots

Home Page

Shopping Cart

Order Confirmation

Admin Sales Page

Setup

  1. Run bundle install to install dependencies
  2. Create config/database.yml by copying config/database.example.yml
  3. Create .env by copying .env.example
  4. Run bin/rake db:reset to create, load and seed db
  5. Sign up for a Stripe account
  6. Put Stripe (test) keys into appropriate .env vars
  7. Run rails s to start the server
  8. To access admin menu, set admin user name and password in the .env file based on .env.example

Stripe Testing

Use Credit Card # 4242424242424242 with a valid future date and any 3-digit as CVC for testing success scenarios.

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

About

A mini e-commerce application built with Rails

Resources

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published