How it would run in production
The same steps and checks as this prototype. Each piece is swapped for its production version behind the interface it already has.
People approve in the web app, and a worker does the rest
Hosted in the UK or EU, behind company sign-in. Nothing reaches a doctor until a person has approved it.
What changes from this prototype
| Part | This prototype | Production |
|---|---|---|
| Runs on | One laptop, or Vercel for the demo | An always-on server or container in the UK or EU |
| Database | A SQLite file | Postgres, backed up every day |
| Long jobs | A background thread in the web app | A worker that takes jobs from a queue |
| Drafting | The local model (Ollama) | A hosted model under a data agreement, or our own GPU server |
| Email checks | Made-up answers for the demo list, and a real mail-server check for real domains | Paid verification and finder services, behind the same interface |
| Sending | Redirected to your inbox through Resend | MedicPaths' own domain, with SPF, DKIM and DMARC |
| People | A typed name | Company sign-in, with reviewer and admin roles |
| Alerts | A file | A webhook to n8n, then WhatsApp, Slack or Teams |
| Watching it | The audit log | The audit log, plus error tracking, uptime checks and a daily summary |
The steps, rules and checks stay the same. The model, the email checks, the sender and the alerts each sit behind one small interface, so each can be swapped without touching the rest.