DEV Community

Cover image for How I Built a $58K GMV Yacht Marketplace and a MedTech AI in 6 Weeks: An AI-Augmented Architecture Deep Dive
Grek Creator
Grek Creator

Posted on

How I Built a $58K GMV Yacht Marketplace and a MedTech AI in 6 Weeks: An AI-Augmented Architecture Deep Dive

The term "vibecoder" is often used as an insult, implying a lack of fundamental knowledge. However, after shipping three production-grade systems in the last six months—one hitting $58,000 GMV in 6 weeks and another cutting clinic no-shows by 61%—I have realized that AI-augmented engineering is about amplifying architectural judgment, not cutting corners.

If your architecture is weak, AI simply helps you build broken systems faster. Here is the "Bespoke Engineering" framework I used to deliver team-level output as a solo Product Engineer.

The Technical Stack

  • Backend: Python 3.12, FastAPI, aiogram 3.4.

  • Frontend/Mobile: React 18 & React Native (Expo 50) via Turborepo monorepo.

  • Database: PostgreSQL (pgcrypto AES-256 for medical data) & Redis for distributed locking.

  • Infrastructure: AWS (ECS Fargate, RDS) and Selectel (for RU-localized data).

  • AI Pipeline: 3-tier Hybrid (Keyword Router → RAG → LLM).


Challenge 1: The "Double-Booking" Prevention (FinTech)

In the Dubai Yacht Marketplace project, the critical risk was concurrent bookings—two users attempting to pay for the same sunset cruise simultaneously.

The Solution: I implemented a Redis SET NX distributed lock.
When a user initiates checkout, the system creates a temporary 15-minute lock on that specific time slot. If the lock fails, the user is notified immediately before entering card details.

  • Outcome: 312 trips completed with zero double-bookings.

Challenge 2: 152-FZ Compliance (MedTech)

Medical data in Russia is a "special category" requiring strict in-region localization and encryption.

The Compliance Stack:

  1. pgcrypto AES-256: Encrypting sensitive patient data directly in the database.

  2. SHA-256 Hash Search: Searching via indexed hashes to maintain API latency under 50ms without full table decryption.

  3. GigaChat API: Utilizing Sberbank's LLM to ensure no data ever leaves Russian territory.

  • Outcome: A legally audited system that recovered +$7,200/month in clinic revenue.

The 3-Tier Hybrid AI Architecture

LLMs are often slow and expensive. To process 95% of requests instantly, I utilize this funnel:

  1. Tier 1: Keyword Router (0ms): 94-154 regex patterns for common intents. Cost: $0.

  2. Tier 2: RAG + Cache (~100ms): ChromaDB + rubert-tiny2 for local embeddings to handle FAQs.

  3. Tier 3: LLM Fallback (2-6s): Only complex, novel queries hit the LLM (OpenAI or GigaChat).


The Solo Engineer Advantage

Using AI-augmented workflows allowed me to share ~35% of code between Web and Mobile via Turborepo. I did not spend weeks on boilerplate; I spent them on Escrow logic, 152-FZ security, and Arabic RTL support.

The Core Lesson: Clients do not pay for code. They pay for ROI.

  • Yacht Marketplace: $58K GMV.

  • Medical Clinic: -61% no-shows.

Connect for High-Stakes Projects

I am currently available for architectural consulting and AI-automation projects starting from $3,000.

Website: grekcreator.com
Live Demo: app.grekcreator.com

Top comments (2)

Some comments may only be visible to logged-in visitors. Sign in to view all comments.