storify

A sample E-Commerce storefront application in Ruby | Two factor authentication using Authy

View the Project on GitHub

Storify

Code Climate Test Coverage Issue Count CircleCI

Tech Stack

Installation

In Production

Note: Make sure the solr instance is up and running for every operations like db:reset, db:seed, or running application.

System Overview

You can find the Enhanced Entity Relationship Diagram(ERD) here.

Declaration

Storify uses Authy 2Factor Authentication’s Onetouch and Softtoken scheme to authentication crutial events like payment verifications. It uses the authy-ruby gem.

It also uses Rails DB, so that you can view records in production and other environment. http://localhost:3000/rails/db

Hacks

If you wish to do the following jobs with single command then see below

Solution:

execute this command

$ echo "alias hard_reset_db='rails db:drop && rake db:create && rake db:migrate && rake db:reset'"  >> ~/.bash_aliases

or open the file ~/.bash_aliases and put the following content.

alias hard_reset='(echo "Dropping DB ..")&&(rails db:drop) && (rake db:create) && (rake db:migrate) && (echo "Seeding..")&&(rake db:seed)&&(echo "Done!")'

This will update your system’s alias list. Now whenever you wish you can use it like

$ hard_reset_db

Contribute

Bug fixes

Architecture

Drawing Drawing

Release

See RELEASE.md for information about how to make a new release.

Translation

As of now, Storify is only available in English.

Known issues

License

Storify is open source under the MIT license. See LICENSE for details.