Skip to content

Back end Architecture

firstcryptoman edited this page Dec 13, 2021 · 1 revision

Visual Architecture

Back-end-Architecture

Code Architecture

The application is composed of different modules for the source code, each module is distributed in its own folder.

Below is the matrix of the different modules and the associated documentation:

Module Name Descriptions Authors Contributors Location
📤 API Contains all the functions necessary to interact with the different APIs supported by atomicdex-desktop (mm2, coinpaprika, etc...) Milerius src/atomicdex/api
📝 Config Contains all the functions necessary to handle different configs (mm2, coins, wallets...) Milerius src/atomicdex/config
📏 Constants Contains the constant values ​​of the code (error code, enums, http code...) Milerius src/atomicdex/constants
🗂️ Data Contains the data structure used in differents models. Milerius src/atomicdex/data
🗓️ Events Contains the events that can be received or sent through the application Milerius src/atomicdex/events
💼 Managers Contains the managers of the application (notifications, wallet) will be merged with the services Milerius src/atomicdex/managers
🎨 Models Contains all QT models (connects the 3rd and 1st layer) Milerius src/atomicdex/models
📄 Pages Represents a page of QT, wrapper around several models Milerius src/atomicdex/pages
🖥️ Platform Contains platform dependend code Milerius src/atomicdex/platform
🌐 Services Contains all the services of the 2nd and 3rd layer Milerius src/atomicdex/services
🧪 Tests Contains all the unit tests of the project Milerius src/atomicdex/tests
🧰 Utilities Contains all the utility functions of the project Milerius src/atomicdex/utilities
:atom: Version Contains version functions Milerius src/atomicdex/version
🛠️ Widgets Contains custom widgets of the application Milerius src/atomicdex/widgets