A mini e-commerce application built with Rails 4.2 for purposes of teaching Rails by example. Tested with RSpec.
- Fork & Clone
- Run
bundle install
to install dependencies - Create config/database.yml by copying config/database.example.yml
- Create config/secrets.yml by copying config/secrets.example.yml
- Run
bin/rake db:reset
to create, load and seed db - Create .env file based on .env.example
- Sign up for a Stripe account
- Put Stripe (test) keys into appropriate .env vars
- Run
bin/rails s -b 0.0.0.0
to start the server - Open application: http://localhost:3000
Use Credit Card # 4111 1111 1111 1111 for testing success scenarios. Type in a future date for Credit Card expiry date
- Rails 4.2.6 or above
- PostgreSQL 9.x
- Stripe
- Sass-rails 5.0 or above
- Uglifier 1.3.0 or above
- Coffee-rails 4.1.0 or above
- Therubyracer
- Jquery-rails
- Turbolinks
- Jbuilder 2.0 or above
- Sdoc 0.4.0 or above
- Bcrypt 3.1.7 or above
- Puma
- Bootstrap-sass 3.3.6 or above
- Font-awesome-rails
- Money-rails
- Carrierwave
- Rmagick
- Stripe
- Faker