Finance and investment · 2026
SubFin
SubFin, Submelk's investor panel: balances in several currencies and gold, statements, and deposit and withdrawal requests online.
The challenge
Submelk needed one panel for its investors: balances in several currencies and in gold, in one place. Profit on each asset had to be paid in that asset's own currency: gold profit in gold, dollar profit in dollars, never converted to rial. Deposit and withdrawal requests also had to be filed from the panel and pass through several roles in the admin panel.
Our approach
In October 2026 we launched SubFin as a Submelk service at fin.submelk.net, on Kubernetes at ArvanCloud, with a GitLab build-and-deploy pipeline. The investor panel is a Persian, right-to-left Next.js app backed by a Django system on PostgreSQL. Every night at 23:00 Tehran time the system records every account's balance, profit accrues daily over Persian-calendar months, and a separate transaction-based calculation checks the result. Each request moves from the finance manager to treasury, the cash desk and operations, while a supervisor has read-only access.
The result
SubFin has been available at fin.submelk.net since 11 October 2026. In the panel an investor sees their accounts, deposits and transactions, requests a balance increase or a withdrawal to a card or IBAN, and downloads an account statement as an Excel file. Balances can also be topped up online through a bank payment gateway.
Capabilities used
- UI/UX Design
- Web Development
- Software Architecture
- DevOps and CI/CD
- Deployment and Hosting
- UI/UX Design
A Persian, right-to-left home page and panel designed for investors, under the SubFin name. - Web Development
A Next.js investor panel and a Django admin panel covering requests, statements and top-ups through a bank payment gateway. - Software Architecture
Multi-currency and gold accounts with profit in each asset's currency, a profit engine built on daily balance records with a second, independent check, and a request workflow across several roles. - DevOps and CI/CD
Separate Kubernetes deployments with their own database and media volumes, and a built-in scheduler with a health endpoint. - Deployment and Hosting
A GitLab CI pipeline that builds an image tagged by commit and deploys to production on ArvanCloud as a manual step.
Technologies
- Next.js
- React
- TypeScript
- Tailwind CSS
- TanStack Query
- Django
- PostgreSQL
- Kubernetes
- ArvanCloud
- GitLab CI
- Jest
Team on this project
- Sepehr ModirsaneiFounder and product owner
- Ali LotfollahiTeam lead, full stack
- Amir ZareBackend developer
- Seyed Mehdi MousaviAI and e-commerce lead