Dankastur is a digital top-up platform (games, vouchers, mobile credit) that I build and operate at dankastur.com. A NestJS backend handles catalog and price/stock synchronization from Digiflazz, transactions, payment webhooks, and admin auth, backed by PostgreSQL via Prisma with Redis for caching and internal jobs. An Astro SSR frontend serves a fast, SEO-friendly catalog with a same-origin API proxy. Everything runs on a single VPS with Nginx, PM2, Docker, and Let's Encrypt TLS.
Problem
Selling top-ups manually over chat is slow: provider prices change constantly, stock can run out mid-transaction, payments and orders need one-by-one reconciliation, and customers can only buy while an admin is online.
Solution
I built two applications in one monorepo: a NestJS API that synchronizes Digiflazz products, processes transactions and payment webhooks, and powers the admin panel; plus an Astro SSR frontend with a same-origin API proxy. PostgreSQL/Prisma is the source of truth, Redis handles caching and jobs, and the stack runs with Docker, PM2, and Nginx on a single VPS.
Result
The store runs in production at dankastur.com: customers check out on their own 24/7, prices and stock stay in sync with the provider, admins manage products and transactions from one panel, and infrastructure cost stays low because it is self-hosted.