Douglas Alvarino

Founding Full-Stack Engineer · Backend & Payments

I build the payment systems marketplaces run on.

Founding engineer at JamJuice, a live-music booking marketplace, since 2023. One of two engineers, and the lead on Stripe Connect payouts, ACH, and automated billing. The platform has processed $9.7M+ across 24,000+ bookings.

Tampa, FL · Remote · 4+ years shipping production marketplace and payments systems in TypeScript / Node.js

JamJuice Inc.

Founding Full-Stack Engineer

2023 – Present · Remote


Processed on platform
$9.7M+
source: jamjuice.com (public)
Bookings
24,000+
source: jamjuice.com (public)
Vetted talent
1,000+
artists & engineerssource: jamjuice.com (public)
Merged pull requests
180+
source: resume › JamJuice, bullet 2
Payment-core code I wrote
≈ 94%
by git blame, Nov 2026source: git blame on my work at JamJuice

Charges per recipient
≤ 1
per booking, by designsource: my work at JamJuice

STATUSOpen to new roles

Thank you for reading.
Every figure has a source. Tap “audit”.

01

Experience

Reverse chronological. Every claim here traces to my resume or the work itself.

  1. Jan 2023 – Present
    Remote

    JamJuice Inc.

    Founding Full-Stack Software Engineer

    Live-music booking & payments marketplace

    One of two engineers on a marketplace that has processed $9.7M+ across 24,000+ bookings.

    • Lead engineer on payments: Stripe Connect payouts, ACH, automated organization billing, and fee logic.
    • Wrote about 94% of the payment-core code running in production and essentially all of its payment and calendar tests, by git blame.
    • Designed the payout engine as a ledger driven by an explicit state machine, with compare-and-set transitions, idempotent Stripe calls, and webhook reconciliation inside database transactions.
    • Built a transactional notification outbox: the receipt record commits with the charge, delivery is deduplicated per channel, and repeat failures dead-letter with an alert.
    • Primary maintainer of the Inngest background-job layer (billing, payments, notifications, async transaction exports). Built Google Calendar sync for bookings.
    • Top contributor: 180+ merged PRs, 100+ features and 150+ fixes across the Next.js/TypeScript web app, Expo/React Native mobile app, and Node.js/MongoDB backend.
    • Own production support and CI/CD: Sentry triage, Stripe investigation, GitHub Actions, Vercel and EAS deploys. Risky money paths ship behind kill switches after a shadow run.
    • TypeScript
    • Next.js
    • Expo / React Native
    • Node.js
    • MongoDB
    • Stripe Connect
    • Inngest
    • Sentry
  2. Jan 2024 – Aug 2026
    Tampa, FL / Remote

    Aspire Consult LLC

    Founder & Lead Software Engineer

    Solo software consultancy

    Scoped, built, and shipped production software for clients in regulated cannabis, creator media, and interior design. Owned architecture, code, and deploys on every engagement.

  3. Jan 2022 – Jan 2023
    Tampa, FL / Hybrid

    EōS Fitness

    Junior Software Engineer

    Enterprise internal systems

    Automated win-back outreach; client return rate rose 25% over Q1 2022.

    • Wrote Python jobs against the GymSales CRM to flag lapsed members and trigger automated SMS and email reminders.
    • Built Power BI reports for the sales team on retention, lead follow-up, and event attendance by club.
    • Worked directly with sales staff to turn report findings into outreach, driving 80+ signups in Q1 2022.
    • Python
    • Power BI
    • CRM
02

Case studies

Real problems from production payment systems. What broke, why it was hard, and what I built so it can't happen again.

JamJuice · Payments core

A payout engine that can't move money twice

Problem
A two-sided marketplace pays artists by charging venues, often over ACH, which takes days to settle. If payout state can be overwritten, or a fee setting changes after a booking is accepted, an artist gets underpaid or a venue gets billed twice.
Constraint
Stripe webhooks are delivered at least once and out of order. A scheduled job and a webhook can update the same booking at the same moment. MongoDB only gives you multi-document atomicity inside sessions. And a bank payment that looked failed can legitimately start processing again.
Decision
Keep money state in its own server-only ledger, driven by an explicit state machine, so every change is a transition the database checks rather than a field anyone can write.
Under the hood
  • A single transition table defines every legal move. The database's compare-and-set filters are derived from that table, so code and queries can't drift apart.
  • Calls that create charges are idempotent and leased, and recovery after a crash binds to the charge that already exists instead of creating another. When the answer is ambiguous, it fails closed to a human.
  • Money terms are snapshotted when a booking is accepted, so later edits can't change what was promised.
  • Webhook reconciliation runs inside database transactions, and one shared rule decides a booking's overall status so independent writers agree.
  • Rolled out behind a kill switch after a shadow run, with dry-run backfills and regression tests for each edge case.
Result
Every money state change is a guarded, tested transition, on a platform that has processed $9.7M+ across 24,000+ bookings.
Interactive · simplified illustration of the patternPick a state, or play a failure.
pendingsubmittingprocessingpaidrefundedneeds_reviewfailedcanceled

8 states, an allow-list of moves, one guarded exception. Click a state to see where it can go. Everything not drawn is rejected by the database, not by good intentions.

  • TypeScript
  • MongoDB transactions
  • Stripe Connect
  • ACH
  • Inngest
JamJuice · Money correctness

One recipient, one charge, by construction

Problem
Bookings change after they're accepted. Offers get replaced, and line-ups shift, while an earlier bank payment for the same person may still be settling. Any of that must never turn into a second charge.
Constraint
When money is in flight, the evidence is spread across several records and Stripe itself. There's no single flag that says "this person is already being paid," and every code path that can create a charge has to agree.
Decision
Define "this payout holds or may hold money" exactly once, and enforce it on every path that can reach Stripe. Anything that fails the check is parked for a human, not charged.
Under the hood
  • One predicate and its matching database query, tested together against a real replica set so the rule and the filter can't diverge.
  • Guards on every code path that creates a charge, with telemetry when one fires.
  • Operator tooling to resolve parked payouts: dry-run by default, and tested against two operators racing each other.
  • Started from a failing end-to-end test, then made the whole class of failure unreachable.
Result
No code path can charge the same recipient twice for a booking. Anything suspicious goes to a person, not a bank account.
  • TypeScript
  • MongoDB
  • Stripe
  • End-to-end tests on a replica set
JamJuice · Stripe Connect

Retries that outlive Stripe's idempotency window

Problem
A failed payment has to be retried safely, and only people Stripe can actually pay should be bookable.
Constraint
Stripe keeps idempotency keys for about 24 hours and replays the cached response, errors included. A daily job retrying with the same key just replays the failure. A new key is only safe if you can prove no charge already exists. Connect accounts are payable only when both payouts and the transfers capability are active.
Decision
Rotate to a new key only after proving there's no existing charge, and make "can this person be paid" one shared answer that tracks Stripe.
Under the hood
  • Key rotation is gated on that proof and fails closed on any API error. Repeated failures park instead of retrying forever.
  • Readiness is three-valued (ready, not ready, unknown) and shared by every caller instead of re-derived in each.
  • A Connect account webhook plus a reconciliation job keep readiness in sync with Stripe in both directions.
Result
Failed charges recover on their own, and bookings only go to recipients Stripe will pay.
  • Stripe Connect
  • Idempotency
  • Webhooks
  • Inngest
JamJuice · Integrations at scale

Calendar sync for whole rosters at once

Problem
Artists connect Google Calendar and expect every booking to appear, including the hundreds already on their schedule.
Constraint
One long backfill job runs into workflow step limits, and Google enforces per-user request quotas. Deleted Google events keep their iCal UID, so re-adding them collides. Concurrent writers can race on event sequence numbers.
Decision
Fan the backfill out to one small job per booking under a rate limit, and treat Google's quirks as part of the protocol rather than as errors.
Under the hood
  • An orchestrator emits one event per booking, throttled per user to stay under Google's quota.
  • Collisions with deleted events are resolved by restoring the existing event instead of inserting a new one.
  • Sequence numbers are reserved atomically, proven by a race test.
Result
Large rosters sync without hitting step limits or quotas, and the edge cases have tests that reproduce them.
  • Inngest
  • Google Calendar API
  • OAuth
  • MongoDB
JamJuice · Reliability

A receipt for every charge, even through a crash

Problem
Every charge needs a receipt, and a crash between charging and notifying must never lose one.
Constraint
Background jobs retry and can die partway through. Email and push providers fail independently of Stripe. A send can succeed right before a crash, so delivery has to be deduplicated, not assumed.
Decision
A transactional outbox: the notification record commits in the same database transaction as the charge record, and a separate sweeper delivers it.
Under the hood
  • One outbox row per transaction, written in the same session as the transaction itself.
  • Delivery runs per channel with lease-based claims to deduplicate sends.
  • Rows that keep failing are dead-lettered with an alert instead of looping forever.
Result
A crash can't lose a receipt, and a poison message raises an alert instead of retrying forever.
  • MongoDB
  • Inngest
  • Transactional outbox
  • Sentry
Only Followers · Access control

Paid content that stays paid

Problem
A creator platform sells subscriptions, one-time video unlocks, and donations. Every paid asset has to reach exactly the people entitled to it, and every dollar has to land in the right creator's earnings.
Constraint
Content is served through signed storage URLs and adaptive-bitrate playlists, which can be cached and shared. Each payment type uses a different Stripe primitive, with its own fee path and a per-creator revenue split.
Decision
One default-deny entitlement check in front of every way to reach a video, and a ledger audit that proves payments and earnings agree.
Under the hood
  • Shared entitlement logic for signed URLs, HLS playlists, and video routes. Anything not explicitly free is treated as premium.
  • URL caching sits behind the entitlement check, so caching can't leak access.
  • Destination charges and subscription fees on Stripe Connect, with a configurable per-creator split and deterministic idempotency keys.
  • An admin audit cross-checks every purchase, subscription, and donation against the earnings tables, with backfill tooling.
Result
Sole engineer through launch, with access control and earnings that can be audited end to end.
  • Next.js
  • Prisma
  • Postgres
  • Stripe Connect
  • S3
  • HLS
03

How I work

  • Money moves through a state machine, not a boolean.

    Every payout state is an explicit, compare-and-set transition reconciled against Stripe, so retries, crashes, and out-of-order webhooks can't move money twice.

  • Reproduce it, then make it impossible.

    I write the failing test first, then remove the class of bug: one shared predicate, every path guarded, adversarial end-to-end tests on a real replica set.

  • Ship risky changes like they're live, because they are.

    Kill switches, shadow runs, dry-run backfills, and audits that prove the books match. I own production after launch: Sentry triage, Stripe investigation, deploys.

04

Skills

Languages
TypeScript · JavaScript · Python · SQL · Rust · Java · HTML/CSS
Backend
Node.js · Next.js (App Router / API routes) · Express · FastAPI · REST APIs · Prisma · Mongoose · Zod
Frontend & Mobile
React · Next.js · Expo / React Native · Tailwind CSS · MUI
Databases
MongoDB · PostgreSQL (Neon) · MySQL · Redis
Payments
Stripe Connect · Stripe Billing & Subscriptions · ACH · Dispute handling · Fee and payout logic
Infra & DevOps
Vercel · Expo EAS · GitHub Actions · Inngest · Docker · AWS · Azure · CI/CD
Observability
Sentry · Datadog · Power BI
AI / ML
OpenAI / Azure OpenAI · RAG pipelines · Vector embeddings
Security & Auth
NextAuth · JWT · OAuth2 · RBAC · Rate limiting · METRC compliance
Integrations
Google Calendar API · LiveKit (WebRTC) · Microsoft Graph API · Twilio
Testing
Vitest · Jest · Postman

05 · Education

University of South Florida

B.S. Cybersecurity, Minor in Mathematics

Aug 2023 – Present · Tampa, FL