Case study — built in the lab

Suxena

A payments and subscriptions system for organizations, engineered to production standards from the first commit.

Type
In-house product
Does
Organizations, plans, payments
Stack
Rust · TypeScript · Kubernetes
Payments
PayPal · Stripe

01 — The job

Billing that a business can trust.

Suxena lets a company group its users under one organization, choose a ready-made pricing plan or request a custom one, and pay through PayPal or Stripe.

Money is the last place to accept software that only works in a demo. So we built Suxena the way we fix other people's apps: small services, strict checks, real environments and logs you can actually read.

02 — Architecture

Small services, one clear path

Rust crates behind them SecuritySubscription billingShared modelLogging

03 — Production grade, concretely

What that meant here

  1. Three environments

    Development, staging and production each run as a Kubernetes overlay on one shared base.

  2. Every commit is checked

    Formatting, lint with warnings treated as errors, Rust tests and TypeScript tests all run before a commit lands.

  3. Logs you can search

    Services ship their logs through Filebeat into Elasticsearch, and the team reads them in Kibana.

  4. One source of truth for types

    TypeScript definitions are generated from the Rust model, so the two sides cannot drift apart.

  5. Docs in two languages

    User and technical documentation is published in English and Spanish.

04 — The gate

Five checks before any commit

  1. Queued Running Passed fmt
  2. Queued Running Passed clippy
  3. Queued Running Passed test-rust
  4. Queued Running Passed test-ts
  5. Queued Running Passed ts-lint

Your product next

Want this standard on your app?