Concept
Stand-alone module to handle all the incoming and outgoing data to Trace
It will get connected to the mobile app via APIs and fetch data then sync it to trace
It will also be connected to a system like PTCAN and then send and receive data
It has its own DB and a fronted and possible to self-host
There will be a Python lib to manage all the interactions to the standalone module
This python lib is installed on trace server and other systems to push and pull data
Users can also do mobile app customizations in the module like custom forms
It handles the transactions and connections from a single company perspective.
Flow
A company is first added/synced to the connect db
All the buyers and suppliers are also added/synced to the connect db
Company users will get added to the connect db
They can access the app after connecting the app to the connect server
They can add products under the company from the interface
Modules
Nodes/companies: Module to manage all the companies/farmers. Each company will have many to many relations for suppliers and buyers (self)
Transactions: Only external transactions. Each transaction will have a