This is a sample two factor authenticate server which using TOTP and run on rails.