Skip to content
Other2025MVP

Krouva – Digital trading card game with economy and marketplace

Boosters, wallet, inventory, P2P marketplace and economy analytics

Production-grade backend for a digital TCG, with authentication, wallet, booster purchase and opening flows, inventory, card recycling, a P2P marketplace and safeguards around the game economy.

Quick summary
Role
Backend architect & game systems developer
Core stack
Node.js 20 · Fastify · Supabase · PostgreSQL
Talk about a similar project
Type
Other
Status
MVP
Role
Backend architect & game systems developer

Context and objective

Production-grade backend for a digital TCG, with authentication, wallet, booster purchase and opening flows, inventory, card recycling, a P2P marketplace and safeguards around the game economy.

I built and hardened the backend foundation for Krouva, a digital trading card game with its own economy, boosters, collectibles, wallet, inventory and player-to-player marketplace. The project gained RLS, business-rule validation and strong automated test coverage to protect balances, ownership, minimum prices and other sensitive operations. Beyond the transactional layer, the architecture includes economy analytics for RTP, distribution, liquidity and auditing, preparing the product to scale with more confidence.

The challenge

The core challenge here was not just building a polished interface. It was designing a flow that fit the real business context, reduced operational noise and turned a fragmented process into something clearer, faster and more reliable.

That usually means aligning customer service, decision-making, record keeping, automation and follow-up under one coherent logic. In other words: making the product support the operation, not the other way around.

The solution

I built and hardened the backend foundation for Krouva, a digital trading card game with its own economy, boosters, collectibles, wallet, inventory and player-to-player marketplace. The project gained RLS, business-rule validation and strong automated test coverage to protect balances, ownership, minimum prices and other sensitive operations. Beyond the transactional layer, the architecture includes economy analytics for RTP, distribution, liquidity and auditing, preparing the product to scale with more confidence.

Booster, wallet, inventory and P2P marketplace flows governed by consistent business rules

RLS and anti-fraud checks for ownership, balance, CPF, self-dealing and minimum prices

Economy analytics for RTP, liquidity, distribution and ecosystem auditing

91.7% test coverage, zero TypeScript errors and CI/CD pipelines

Architecture ready for an integrated frontend, Railway/Vercel deploys and future battle systems

Real impact

The game economy stops being a black box

Marketplace and boosters operate with auditable rules

Security and test coverage increase production readiness

Technology

Node.js 20FastifySupabasePostgreSQLNext.jsVitestRailwayVercel

My responsibilities

  • Architected the backend for auth, wallet, marketplace, boosters and inventory
  • Modeled and hardened the database with RLS, validations and deploy/check scripts
  • Implemented tests, logging and quality pipelines for production readiness
  • Wrote technical documentation for the API, frontend setup, deployment and smoke tests

Final CTA

If you want to build something like this or reorganize an operation that still depends too heavily on manual work, overloaded customer service or a confusing interface, this is exactly the kind of project where I usually create the most value.