Thanks to visit codestin.com
Credit goes to github.com

Skip to content

tbalmeida/jungle-rails

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

30 Commits
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 

Repository files navigation

Jungle

A mini e-commerce application built with Rails 4.2 for purposes of teaching Rails by example. Work from Weeks 09 and 10 at Lighthouse Labs YYC JAn/20

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

Screenshots

Some screenshots of main features

Main page Main page

Product categories

Menu

Cart

When you do not have products in your cart, a warning message of "Empty cart" will be displayed instead of the image Cart

New Product

Only admin users can manage Products and Categories Create new product

Authentication

It is not mandatory to make purchases at the shop, but the feature available.

Use Login

Login

User sign up

Sign-up

About

W09D2

Resources

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published