Heroku link: https://shopping-app-jayken.herokuapp.com/
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
These instructions will get you a copy of the project up and running on your local machine for development and testing purposes.
- Ruby 2.4.1
- Rails 5.1.4
- Redis
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
Tests are built in Rspec
To run tests:
$ rspec
- Kenneth Teh - Kenneth's Github
- Jayme Sio - Jayme's Github