Jungle
A mini e-commerce application built with Ruby on Rails 4.2, based on Lighthouse Labs' Jungle project. Created for the purpose of learning Rails and working with an existing codebase.
Users can add products to a shopping cart and purchase them using Stripe for transactions. They can register an account in order to leave reviews on products.
Average ratings are displayed on the product index page. Reviews and ratings can be found on individual product pages.
Admins can add new products or product categories to the site.
Setup
- Fork & Clone
- Run
bundle install
to install dependencies - Create
config/database.yml
by copyingconfig/database.example.yml
- Create
config/secrets.yml
by copyingconfig/secrets.example.yml
- Run
bin/rake db:reset
to create, load and seed db - Create .env file based on .env.example
Features
View all products, or sort by category, and add products to your shopping cart.
Review individual products, see their information, and reviews left by other users.
Purchase products in your shopping cart using Stripe for payments.
Upon successful purchase, review your order. If you're logged in, you will receive an email with a breakdown of your order.
As an admin, add or remove products, and create new categories to arrange them under
Dependencies
- Rails 4.2 Rails Guide
- PostgreSQL 9.x
- Stripe