/Jungle-ecommerce-store

A mini e-commerce application built with Ruby On Rails 6.1, Active Record and Bootstrap.

Primary LanguageJavaScript

Jungle - E-commerce website


The jungle ecommerce logo

Jungle - E-commerce

A Ruby on Rails E-commerce web application.
Explore the docs »

Table of Contents
  1. About Jungle
  2. Getting Started

About Jungle

Jungle is a plant themed E-commerce web application built with Ruby on Rails, Bootstrap CSS, PostgreSQL, and Stripe. The application covers some of the most common features you would expect from an e-commerce site, including user authentication, product and category management handled through a password protected admin panel, along with a checkout powered by Stripe.

"Exmaple image of jungle app"

"Jungle products"

"Product details page"

"Cart details pages"

(back to top)

Built With

  • Ruby on Rails 6.1
  • Bootstrap 5
  • PostgresSQL 9.x
  • Stripe
  • Rspec
  • Cypress

(back to top)

Getting Started

Installation


  1. Clone the repo to a folder of your choice.
git clone git@github.com:Ethansteip/Jungle.git Jungle
  1. cd into the newly created Jungle directory.
cd Jungle
  1. Install Gem dependencies.
bundle install
  1. Reset and seed the database
bin/rails db:reset
  1. Sign-up for a stripe acount and add your credentials to the .env file
STRIPE_PUBLISHABLE_KEY=your_key
STRIPE_SECRET_KEY=your_secret_key
  1. Also, set the admin username and password in .env to access the admin panel
USER_NAME=your_admin_username
PASSWORD=your_password
  1. Start the application from the root directory
bin/rails s -b 0.0.0.0

Database

If Rails is complaining about authentication to the database, uncomment the user and password fields from config/database.yml in the development and test sections, and replace if necessary the user and password development to an existing database user. Application tested using Rspec and Cypress.

Stripe Testing

Use Credit Card # 4111 1111 1111 1111 for testing success scenarios.

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

(back to top)

Contact

Ethan Steip

ethan.steip@gmail.com

(back to top)