#!/usr/bin/env bun /** * `shortlinks-serve` — the hosted HTTP service entrypoint. * * Reads/writes PostgreSQL directly via the vendored storage kit: the server * data backend is selected by `HASNA_SHORTLINKS_DATABASE_URL` (present → * postgresql, absent → the pool factory fails closed). No sync engine, cache, * or local database in the service. * * Usage: * shortlinks-serve Run migrations (idempotent) then serve. * shortlinks-serve migrate Run migrations and exit (one-shot task). * shortlinks-serve --no-migrate Serve without running migrations on boot. */ export {};