
Swarna Tactical — Storefront
The main Swarna Tactical e-commerce storefront and tactical-gear management platform.
About This Project
The Problem
How We Solved It
How It Works
- 1
Choose a store and browse
First-time visitors pick between the firearms-accessories store and the tactical apparel store, which lives on its own domain. Shoppers then browse by category, gun, brand, promotion or search, and every list comes from the shared Express API over MongoDB.
- 2
Catalogue synced from the POS
Products and outlet inventory are pulled from the DealPOS point-of-sale system into a staging area. Admins link and publish staged items in the Next.js admin dashboard, which also manages banners, categories, brands, vouchers, promos and membership tiers.
- 3
Account and cart
Customers register or sign in with OTP verification or Google. Requests are authorised with JWT plus Casbin role-based policies, and the cart and saved items are stored per account on the backend.
- 4
Server-verified checkout
At checkout the backend recalculates everything instead of trusting the browser. Shipping rates come from Biteship, with an in-store pickup option, and manual vouchers, automatic vouchers and membership-tier discounts are all computed server-side.
- 5
Payment with stock reservation
Stock is reserved before a Midtrans Snap payment is created, so items cannot be oversold, and repeated submits return the existing payment. If creating the payment fails, the reserved stock is released.
- 6
Settlement via webhook
The Midtrans server-to-server notification, checked by its signature, is the source of truth for payment. On settlement the order moves to processing, voucher usage and stock are committed, membership accrual runs and a DealPOS invoice is queued; expired or cancelled payments release the stock.
- 7
Fulfilment and after-sales
Admins create the Biteship shipment or enter an external tracking number, and customers follow tracking through Binderbyte from their order history. The dashboard also handles refunds through Midtrans, cancelling or replacing individual items, and collecting or refunding any price difference.
Key Capabilities
Responsive Storefront
Payment Integration
Gear Management
Cloud & CI/CD
Inside the Product
Under the Hood
Impact & Outcomes
Delivered a full-stack e-commerce storefront for the Swarna brand
Integrated payments and kept the platform available and secure
What I Learned
Other Projects
BRI — Rekening Koran (Account Statement)
Backend for Bank BRI's Account Statement platform — CASA, Top 5, and Loan modules across many services, plus a reusable shared library.
BRI — Microservices Migration (300+)
Led a zero-downtime migration of 300+ Enterprise Data Management microservices to production and development with Helm and Kubernetes.