CoolFace
Apppublic

tanishq0504/skullfix-backend

sourceHugging Faceupdated 3mo agoView on Hugging Face
0likes
App README

FastAPI backend for the SkullFix clinical dashboard — auth, patient management, and cranial implant reconstruction. Requires a DATABASE_URL secret (Postgres) to be set on this Space; falls back to a local SQLite file if unset.

  • —POST /api/auth/register, POST /api/auth/login, GET /api/auth/me — auth.
  • —POST /api/patients, GET /api/patients, GET /api/patients/{id} — patient records.
  • —POST /api/patients/{id}/upload, GET /api/patients/{id}/files — raw .nrrd CT scan uploads.
  • —POST /api/patients/{id}/predictions — kick off a reconstruction (background job).
  • —GET /api/predictions/{id}, GET /api/predictions — poll status, list history.
  • —GET /api/files/{request_id}/{filename} — serves STL/NRRD/zip reconstruction outputs.
  • —GET /api/health — health check.