APIs, plataformas internas, bots y sistemas de pago construidos para producción. Arquitectura pensada para crecer.
+30 comandos, gamificación (XP/logros/streaks), i18n es/en, tiers Free/Pro y router O(1). Arquitectura de 3 colas por prioridad con workers separados y ACK <50ms.
@TrelkBot -> Fastify HTTPS ACK <50ms | Dispatcher -> BullMQ | +-------------------+-------------------+ critical (x2) normal (CPU×2) heavy (CPU) 30s 60s 5min | MongoDB + Redis
Monorepo NestJS + React/Vite. RBAC multi-nivel, ticklers, tipificaciones y dashboard con métricas del bot.
SSR puro Fastify + Nunjucks. Checkout PayPal inline, Redis cache, 15+ páginas, i18n.
Fastify + Socket.io, smart routing con scoring multi-criterio, automation engine IF/THEN, flow engine visual y broadcast por segmentos MongoDB.
Telegram + WebChat (adapters) | Smart Routing -> Agent Scoring idioma · capacidad · skills | Automation Engine + Flow Engine | MongoDB · Redis · Socket.io
NestJS API + Worker separados. Idempotencia doble capa (Redis + MongoDB atómico), DLQ, 5 reintentos con backoff exponencial.
PayPal Webhook -> HMAC check | NestJS API ACK <100ms | BullMQ (conc: 5, 200/s) | Idempotency: Redis + MongoDB atomic | SubscriptionService · Telegram notify
API REST unificada del ecosistema. Auth JWT + API Key, webhooks propios /corehooks/:id, throttling por ruta, Pino logging y Swagger docs.
NestJS + Fastify trelk.xyz | Auth: JWT + ApiKey + Blacklist | /v1/api: downloader · tools · IA /v1/corehooks: receiver + CRUD | ValidationPipe · RequestId · Pino
Backend de la Mini App oficial dentro de Telegram. Auth initData HMAC-SHA256, 30+ módulos, gamificación con 18 logros, reviews, SSE y 15 idiomas.
initData HMAC-SHA256 + replay guard | gamification (XP · logros · streaks) reviews + moderation + suggestions favorites · search · notifications | SSE realtime · i18n 15 idiomas
Decisiones de arquitectura, diagramas de sistema, trade-offs descartados, benchmarks y razonamientos de diseño — ninguno está en el repo público.
Request architecture brief$ ls -la /projects/trelk/private/ drwxr-x--- decision-log/ drwxr-x--- adr/ # Architecture Decision Records drwxr-x--- benchmarks/ drwxr-x--- diagrams/ # C4 model · sequence · ER drwxr-x--- load-tests/ ---------- .env.production # (obvio) $ cat adr/0012-bullmq-vs-kafka.md Permission denied