Coffie FleetMulti-tenant backend for vending machines.
Fleet backend
This Next.js app provides tenant-scoped portal APIs plus machine pairing, polling sync, config snapshots, telemetry, orders, and asset metadata endpoints.
Machine pairingReady
Pairing codes issue one-time machine credentials.
Machine communicationPolling
Polling remains authoritative; realtime can be added later.
Tenant modelSaaS
Organizations, memberships, roles, machines, products, and events are tenant-scoped.
Sign in
Use a tenant owner or admin account to edit machine settings and queue sync changes.
Developer entry points
GET /api/healthz GET /support?machineId=:machinePublicId GET /api/support/qr?machineId=:machinePublicId POST /api/admin/v1/pairing-codes POST /api/machine/v1/pair POST /api/machine/v1/heartbeat GET /api/machine/v1/sync POST /api/machine/v1/sync-result POST /api/machine/v1/events POST /api/machine/v1/orders GET /api/machine/v1/assets/:assetId