feat: replace multipart upload with direct S3 prepare/upload/register flow

↗ view on GitHub · Jason Lee · 2026-05-11 · 3985ac4f

- Add POST /single-documents/prepare and /:documentId/register
- Add POST /projects/:projectId/documents/prepare and /documents/:documentId/register
- Remove handleDocumentUpload, extractStructureTree, countPdfPages
- Remove multipart POST / and POST /:projectId/documents routes
- Replace uploadStandaloneDocument and uploadProjectDocument in mikeApi.ts
  with 3-step prepare→S3 uploadData→register flow
Repository dropthejase/louis
Author Jason Lee <12leeejk2@gmail.com>
Authored
Parents 9e7635ab
Stats 3 files changed , +270 , -302
Part of Direct S3 upload via backend-issued presigned URLs; Identity Pool removed

Capture this commit into my fork

Download a Markdown prompt that tells Claude how to port this exact commit into your working tree. Run it via claude -p < capture-commit-3985ac4f.md from inside the repo you want the change in.

⬇ Download capture-commit-3985ac4f.md