Construction and real-estate investment · 2023
Submelk
On Submelk, people buy Subs, shares in real construction projects, and sell them on a secondary market; we built the platform and run it.
The challenge
Sub Real Estate and Construction Crowdsourcing Company, the client behind Submelk, wanted anyone to be able to take a share in a construction project without building expertise or large capital. The unit of that share is a Sub: a piece of a real project. That meant online buying, identity checks and payment, a public record tying every Sub to its holder as a guard against the same share being sold twice, and a way for buyers to sell their Subs to other customers.
Our approach
We built the Persian, right-to-left customer site in Next.js and the backend in Django REST Framework on PostgreSQL. Every project has a page with technical details, progress reports, a construction schedule, a location map and the list of holders, each shown by a personal code. Online identity verification runs three checks automatically: mobile number against national code, identity by national code and birth date, and national code against bank account (IBAN). Behind the site, a Django admin panel gives consultants, marketing and writers their own scoped roles, and an in-house CRM collects leads from the site's forms for the consultants to follow up.
The result
Submelk is live at submelk.net, and we run it on Kubernetes on ArvanCloud. Customers buy Subs and sell them to each other on a secondary market, bring in friends with referral codes, and earn points in the SubClub customer club for buying, holding Subs and completing missions, across five levels. The knowledge base publishes 133 articles with subject and tag pages and structured data, and first-party analytics plus daily Search Console, Google Analytics and Chrome UX Report data reach the admin panel.
Capabilities used
- UI/UX Design
- Web Development
- Software Architecture
- DevOps and CI/CD
- Deployment and Hosting
- Measurement and Analytics
- UI/UX Design
A Persian right-to-left site, project pages with tabs for details, progress, schedule and holders, mobile-only navigation, and landing pages built as A/B variants. - Web Development
A Next.js frontend and a Django REST Framework backend covering Sub purchases, the secondary market, identity verification, bank-gateway payment, the customer club, referrals, gift cards and the knowledge base. - Software Architecture
The Django backend is split into separate apps for users, analytics, messaging and the customer club, and the frontend reaches it through a Next.js API proxy. - DevOps and CI/CD
Images are built in GitLab CI, kept in a private registry and run on Kubernetes at ArvanCloud, and recurring jobs run on a scheduler inside the backend. - Deployment and Hosting
Every build gets an immutable git-commit tag and deploys to a staging environment automatically, and the same image is promoted to production by a manual step, where frontend and backend each run on two replicas. - Measurement and Analytics
A same-origin first-party tracker, a site-traffic dashboard in the admin panel, a Core Web Vitals panel, and daily imports from Search Console, Google Analytics and the Chrome UX Report.
Technologies
- Next.js
- React
- TypeScript
- Django
- Django REST Framework
- PostgreSQL
- Redis
- Kubernetes
- ArvanCloud
- GitLab CI
Team on this project
- Sepehr ModirsaneiFounder and product owner
- Ali LotfollahiTeam lead, full stack
- Amir ZareBackend developer
- Mostafa TahajjomiFrontend developer
- Seyed Mehdi MousaviAI and e-commerce lead
- Ava KazeminejadFrontend and evaluation
- Arman BarghiBackend and data gathering