A mini e-commerce application built with Rails 4.2.
- Front-End: Bootstrap, Sass
- Back-End: Rails, PostgreSQL
- Test: Capybara, Poltergeist, RSpec
- Admin users can create categories, products, and sales
- Logged in users can rate & review a product
- Vistors (and all users) can place an order
- Email reciept is sent after placing an order (See http://0.0.0.0:3001/rails/mailers/user_mailer/order_confirmation for a preview)
- Run
bundle installto install dependencies - Create
config/database.ymlby copyingconfig/database.example.yml - Create
config/secrets.ymlby copyingconfig/secrets.example.yml - Run
bin/rake db:resetto create, load and seed db - Create
.envby copying.env.example - Set your admin username and password in .env.example
- Sign up for a Stripe account
- Put Stripe (test) keys into appropriate .env vars
- Run
bin/rails s -b 0.0.0.0to start the server
Use Credit Card # 4111 1111 1111 1111 for testing success scenarios.
More information in their docs: https://stripe.com/docs/testing#cards
- Rails 4.2
- PostgreSQL 9.x
- Stripe


