logicspike/docs

Category

Newsletter

Doc

Newsletter Service — Developer Guide

Complete internal reference for the Vlozi newsletter system. Everything a developer needs — architecture, schema, API, billing, templates — lives here or is one link away. --- A mu

API

Newsletter Service — API Specification

All admin routes require x-gateway-key + x-tenant-id + x-user-permissions from the gateway. See permissions.md./permissions.md for the permission matrix. --- Create a single subscr

Doc

Newsletter Service — Architecture

How the newsletter system fits together. Read this before touching anything. --- mermaid flowchart LR subgraph Clients"Clients" Dashboard"🖥️ Seller Dashboard\nNext.js · :3000" Pub

Doc

Newsletter Service — Backlog: Issues, Gaps & Improvement Scope

--- Audited 2026-06-28 against apps/newsletter-service source. Overall: 8.0 / 10 The email pipeline queue, DLQ, drain check, Durable Object scheduling and multi-tenant isolation ar

Doc

Newsletter Service — Billing & Credits

--- | Operation | Cost | |-----------|------| | Campaign send | Math.ceilrecipients / 5 credits | | Test send | 1 credit | | Subscribe/confirm | Free system tenant bypass | 1 credi

Doc

Newsletter Service — Database Reference

--- | Table | Rows represent | Multi-tenant | |-------|---------------|-------------| | nl_subscribers | Email addresses opted in to a tenant's newsletter | tenant_id NOT NULL | |

Doc

Newsletter Service — Permissions Reference

Authoritative map of every permission check in newsletter-service. Source of truth: apps/newsletter-service/src/middleware/auth.middleware.ts + route files. --- | Permission | Gran

Doc

Newsletter Templates — v1 Spec

Source of truth for the template authoring + render contract. Updated when the contract changes; not a roadmap. Variables are written as {{ path.to.value }} Mustache-style, whitesp

8 documents