All work

Web app · Medical device buyback

ASC Sustain

A free buyback and recycling service for single-use surgical devices. Surgery centers get free kits, send devices back, and get paid. A staff console runs the whole business behind it.

Visit ascsustain.com
ascsustain.com
The ASC Sustain hero, as it ships
Type
Full stack app
Started
2026
What we did
Brand, Design, Front end, Backend, Operations console
Built with
Next.js, TypeScript, Tailwind CSS, Postgres, Drizzle, UPS API, Microsoft Graph
The brief

ASC Sustain needed two things in one app: a site that earns a surgery center's trust, and an office that tracks every kit, box, label, count, and check without a spreadsheet.

By the numbers

Commits
281
Database migrations
50
Pages
38
Test files
58

Counted from the project's own repo on 2026-11-22.

End to end

One surgery center's month, end to end.

How one real job moves through the system, step by step, and which part of the system does each step.

  1. 01Intake form

    A center signs up

    It fills in one form, and the app builds its pack list from the answers.

  2. 02UPS API

    The kit ships

    Staff print the UPS label from the console, and tracking updates on its own.

  3. 03Warehouse

    The devices come back

    The warehouse counts each device in the box.

  4. 04Ledger

    The count turns into money

    Counts go to the payout ledger with prices from the price list.

  5. 05Month close

    The center gets paid

    Month close writes the payout. A check that has gone out can't be edited.

  6. 06Scheduled jobs

    The board keeps itself

    Each step turns green from real events: the email sent, the parcel delivered, the check posted.

The design

What we designed.

The pages and pieces we drew and built for this project, from the first screen to the last.

  • 01

    An isometric hero

    A 14-second loop drawn by hand: a green truck collects boxes of devices, an armored truck brings cash, and a +$ rises over the building.

  • 02

    The public site

    How it works, the process, device pages, what devices are worth, who it serves, a FAQ, and articles for search.

  • 03

    Intake that builds the kit

    A new center fills in one form, and the app builds its pack list from the answers.

  • 04

    The workflow board

    An onboarding lane and a monthly lane for each center, each step green, amber, red, or grey.

  • 05

    Shipping and receiving

    UPS labels and tracking from the console, then the warehouse counts what comes back.

  • 06

    Payouts and prices

    A payout ledger, a month close, a price list with history, a map of centers, and Excel exports.

Colors

  • #006838
  • #8cc63f
  • #1b75bb
  • #03361d
  • #eff6ea

Type

  • Bricolage Grotesque
  • Public Sans
  • IBM Plex Mono
Under the hood

How it's built.

This one is more than a website. Here is the system behind it, and the choices that make it hold up.

The system

Screens

  • Public siteStatic pages and articles
  • Staff consoleWorkflow, warehouse, and payouts
  • Center formsIntake and supplies, by link

Server

  • Server actionsEach one checks for a staff login
  • Cron routesReminders, tracking, and inbox sync

Data

  • PostgresDrizzle ORM, hand-written migrations
  • Supabase AuthStaff sign-in only

Outside services it calls

  • UPSLabels and tracking
  • Microsoft GraphMail and the support inbox
  • ResendBackup mail
  • Google MapsThe center map

Choices that matter

  • 01

    Steps come from real events

    Each workflow step is worked out from what happened: an email sent, a parcel delivered, a check posted. Nobody updates a status, so the board can't drift.

  • 02

    The browser gets nothing

    The public database API is locked to deny all, and a script proves it before each release.

  • 03

    Sent checks are final

    A check that has gone out can never be edited.

Start a project

Want one like it?

Book a 30-minute call. We'll talk through the idea and tell you straight if we're the right studio to build it.

Book a 30-minute call
Book a call

Loading the calendar

Or email ben@nashvillesoftwareco.com