Skip to content

Simple e-commerce store built on Rails with a Redis cart

Notifications You must be signed in to change notification settings

kennethteh90/shopping-cart

Repository files navigation

Heroku link: https://shopping-app-jayken.herokuapp.com/

E-commerce Store App

This e-commerce store enables:

  • A user to 1) login, 2) view products and add to cart, 3) change quantity, 4) checkout with Braintree
  • An admin user to 1) add and edit products, 2) add and edit categories, 3) view orders

Getting Started

These instructions will get you a copy of the project up and running on your local machine for development and testing purposes.

Prerequisites

  • Ruby 2.4.1
  • Rails 5.1.4
  • Redis

Installing

Clone the repository

git clone https://github.com/kennethteh90/shopping-cart.git

Install required gems

bundle install

Create and configure the database

rake db:create db:migrate

Note: This app requires Redis to run (for the cart component). I found this guide useful in installing my local copy of redis: Guide for Installing Redis

Testing

Tests are built in Rspec

To run tests:

$ rspec

Authors

About

Simple e-commerce store built on Rails with a Redis cart

Resources

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published