I was tasked to implement software design of serverless PWA of crypto exchange platform which will receive payments from clients by using MetaMask (an Ethereum smart contract) and store withdrawal requests in an AppWrite collection. The main idea is simple: client is paying some coins online, taking a withdrawal ticket and getting money in the crypto bank office
The mission of this platform is to help users send their money from different countries without person-to-person coin exchange. Just like in normal bank, but in coins. This means that in the future the code will become enterprise-like: multiple http endpoints, multiple smart contracts (maybe custom ERC-20 token), and no one will want to rewrite it (maybe bsc-like ethereum fork). And all of It is serverless (as much as it can) and build on top of cryptography...
The frontend must act not like a website, but a desktop app with complicated state management. To resolve this task, I need OOP with composition of services and dependency injection
There is a think: using angular2 is not good enough because It must look great, not like a software from 200x. And It costs. A React sets of components looks great and developers are cheap enough
P.S. I googled, there are some libs like inversifyjs but no one is applied to some starter kit on Envato Market
So, Is there any react app template or starter kit which will fit my task?


I created a special CRA template which uses an
onion architecturefor global state management.Services inject each with a dependency provider and use MobX to detect changes.
For example, a
TodoDbServicewraps interactions with AppWrite collectionAs a benefit, you would not need to take database and collections ids to every component in UI
I think this starter kit is indispensable for startups at the time of MVP development because It helps to keep code as clean as possible
P.S. A DeFi-specific services has been written in separate project