Barong is oAuth server for peatio.tech stack.
Prerequisites:
- Ruby version:
2.5.3
- Bundler preinstalled
- MySQL preinstalled
- Install RubyGems dependencies
bundle install
- Copy initialisation files
bin/init_config
- Create database and run migrations
bundle exec rake db:create db:migrate
- Install JS dependencies
yarn install
- Start local server
bundle exec rails server
You can find example of Barong usage here: Barong Test Client App
How to get client app credentials
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
Barong is released under the terms of the Apache License 2.0.