~/main
 pnpx @leo/contact

Software engineer building products that scale.

8+ years shipping SaaS platforms, event systems, and developer tools. CTO-level architecture meets hands-on engineering — Dallas, TX.

Full-stack engineering

Next.js + tRPC + Drizzle + Postgres. From schema to UI, including the boring parts. Strict typing, real error handling, no shortcuts that bite you in week three.

export const projectRouter = router({
  byId: publicProcedure
    .input(z.string().uuid())
    .query(({ input }) =>
      db
        .select()
        .from(projects)
        .where(eq(projects.id, input))
    ),
});

DevOps

Vercel, AWS, Terraform. CI/CD pipelines with real gates. Production observability via Sentry + OpenTelemetry. Deploys you can roll back without praying.

resource "vercel_project" "portfolio" {
  name      = "leonardoacosta-dev"
  framework = "nextjs"
  git_repository = {
    type = "github"
    repo = "leoleonardoacosta/la"
  }
}

System design

API contracts, event flows, multi-tenant data models. CTO-level decisions, not committee diagrams. The boring choices that pay off over years.

// Outbox pattern: events written in same tx as state
await db.transaction(async (tx) => {
  await tx
    .update(orders)
    .set({ status: 'paid' })
    .where(eq(orders.id, orderId));

  await tx.insert(outbox).values({
    event: 'order.paid',
    payload: { orderId, amount },
  });
});

Mentorship

1:1 architecture reviews, code-review coaching, hiring rubrics. I help engineers grow without burning them out — and help leads stop shipping the same bugs twice.

review_focus:
  - boundary_violations    # cross-module leaks
  - test_first             # red before green
  - rollback_safety        # can we undo this in prod?
  - reader_optimization    # cognitive load per line

SELECTED WORK

Built to scale.
Not just to ship.

Eight years of shipping platforms that survived growth, scale events, and the inevitable third-quarter pivot.

let's work on

your next big thing

unlock the potential of your business with premium software engineering, strategic business consultancy, and expert product management services.

or email directly at leo@leonardoacosta.dev