Project structure / DONE

Software structure:

  • ./exchanger-api/plugins - folder with plugins for exchanger

  • ./exchanger-api/config - folder with rest-api configurations

  • ./exchanger-admin-web/config - folder with configurations for the client part of the admin panel

  • ./exchanger-client-web/config - folder with configurations for the client part of the administrator panel

Services

  • nginx - service for fast and stable output of vue application, as well as for proxy rest api and ws

  • mongodb - service for the main project database

  • redis - service for operational data, as well as for notifying other microservices about new event;

  • nodejs - service main platform

NodeJS services:

  • (s) ex-api-http - the service provides REST-API (the main service works in cluster mode);

  • (s) ex-ws - the service provides WebSocket connection with clients and admin panel responsible for real-time actions;

  • (s) ex-parser-rate - the service analyses rates in different sources, processes them and updates them in the database;

  • (s) ex-cron - the service checks the server status, counts the number of visits, cleans unnecessary data ;

  • (s) ex-payout-service - the service processes requests that are marked as paid or ready for payment (if auto- or semi-automatic exchange is active and APIs of payment systems are configured);

  • (s) ex-modules-service - the service processes tasks of additional modules by the crown

  • (s) ex-notification-service - the service sends notifications to the client and administrator via e-mail and common messengers;

  • (s) ex-logstash - sends logs to the logging system logstash elasticsearch (by default logs are sent to BoxExchanger developers, if necessary, you can disable sending logs to developers).

  • (s) ex-blacklist-bc - the service checks and updates the blacklist status from the bestchange.org service

  • (s) ex-migrate - the service checks the relevance of data in the database and brings them to a single standard;

  • (s) ex-seed - the service uploads basic data to the exchanger;

Last updated