Please note, that this project is deprecated and moved to https://github.com/openware/opendax AppLogic is the component for implementing custom business processes which is currently being separated from core Peatio and Barong functionality. It is also designed for extending the system's functionality, for example adding a Paygate or a custom AML provider and is used by frontend application as well.
We advise to use minimalistic environment if you want to develop AppLogic.
- Docker installed
- Docker compose installed
- Ruby 2.5.0
- Rails 5.2+
- Copy initial configurations
./bin/init_config
- Start backend services (MySQL, RabbitMQ)
docker-compose -f config/backend.yml up -d
- Setup database
rake db:create db:migrate db:seed
- Start rails server
rails server
AppLogic interacts with other components using Event API and Management API. You will find examples in features section.
Among the main AppLogic features there are:
Detailed documentation about implementation of Event API listeners could be found here.