/Rails-Project

Online E-commerce Website live at:

Primary LanguageCSS

Nolans "Jungle" Project (Lighthouse Labs)

Background

This project was completed as of Week 10 in the Web Development bootcamp at Lighthouse Labs. Jungle-rails is a mini e-commerce application built with Rails 4.2 for purposes of teaching Rails by example. I inherited an existing code base in a language with barely any prior experience with the codebase, ecosystem and framework.

Functional Requirements

There are multiple goals to this project:

  • Become familiar with Ruby and the Rails framework
  • Learn how to navigate an existing code-base
  • Use existing code style and approach to implement new features in unfamiliar territory
  • Apply previous learning tactics to research and become familiar with a new paradigm, language and framework
  • A simulation of the real world where feature and bug-fix requests are listed instead of step-by-step instructions on how to implement a solution

Jungle

Home Page

Screenshot from 2019-12-22 17-23-56

Login Form

Screenshot from 2019-12-22 19-24-00

Cart

Screenshot from 2019-12-22 19-24-22

Checkout

Screenshot from 2019-12-22 19-24-47

Admin Section | category creation | deletion | product overview

Screenshot from 2019-12-22 19-25-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 # 4242 4242 4242 4242 for testing success scenarios.

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

Dependencies, Scripts, and External Requirements/Resources

  • Bcrypt
  • Bootstrap
  • Byebug
  • Capybara
  • Database_Cleaner
  • Faker
  • jQuery-Rails
  • Money-Rails
  • Poltergeist
  • PostgreSQL 9.x
  • Puma
  • Rails 4.2 Rails Guide
  • RMagick
  • Sass
  • Spring
  • Stripe
  • Turbolinks

Contact