spavlishak / barong

Barong OAuth server

Geek Repo:Geek Repo

Github PK Tool:Github PK Tool

Barong

Build Status Maintainability

Overview

Barong is oAuth server for peatio.tech stack.

Development

Getting started

Prerequisites:

  • Ruby version: 2.5.0
  • Bundler preinstalled
  • MySQL preinstalled
  1. Install RubyGems dependencies
bundle install
  1. Create database and run migrations
bundle exec rake db:create db:migrate
  1. Start local server
bundle exec rails server

Test client application

You can find example of Barong usage here: Barong Test Client App

How to get client app credentials

Barong Levels

In the process of verification Barong assign different levels to accounts

  • Level 0 is default account level
  • Level 1 will apply after email verification
  • Level 2 will apply after phone verification
  • Level 3 will apply after identity & document verification

License

Barong is released under the terms of the Apache License 2.0.

About

Barong OAuth server

License:Apache License 2.0


Languages

Language:Ruby 64.2%Language:HTML 28.4%Language:CSS 3.4%Language:Smarty 2.5%Language:JavaScript 0.7%Language:Shell 0.4%Language:Makefile 0.4%