Skip to content

Alchiman/jungle

Repository files navigation

Jungle

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

User Section

Landing Page

Landing page, with an overview of all available products.

"landing page"

Product Details

Displays details for a specific product.

"product details"

Categories Menu

List all available categories.

"categories menu"

Product by Category

List a subset of products based on a category selection.

"product by category"

Checkout Page

Displays the content of the cart to proceed with order.

"checkout page"

Order Summary

Displays order summary, once order has been finalized.

"order summary"

About Us

Details about the e-commerce.

"about us"

Admin Section

Admin Dashboard

Overview of categories and products available.

"admin dashboard"

Products Administration

Manage the available products.

"admin products"

New Product

Product creation page.

"new product"

New Product Validation

Categories Administration

Manage the available categories.

"admin categories"

New Category

Category creation page.

"new category"

Sales Administration

Manage the available sales. When a sale is active, a banner will appear on the site pages.

New Sale

Sale creation page.

"new sale" ß

Dependencies

Tests

  • Capybara
  • RSpec

Getting Started

  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 -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

About

No description, website, or topics provided.

Resources

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published