Spencer Morris スペンサー・モリス← the streetLet's talk
SM29

Video Interview

CASE STUDY · 2 MIN
Execution / case study

Candidate video never touches the app server

Screening calls eat a manager's week. This replaces the first one with a link: candidates record short answers on their own time, from a phone or a laptop, and reviewers watch them when it suits them.

ExecutionDeployed on AWS for hiringJun 2026 to Nov 2026Built and deployed it end to end
API routes
AWS services defined in CDK: S3, RDS, Fargate, CloudFront, MediaConvert, EventBridge, Lambda
answer length, checked server-side against the real file duration
1 Video Interview

Uploads go straight to S3; the server only checks the result

The candidate page records with MediaRecorder and falls back to a file upload where Safari, iOS or a blocked camera gets in the way. The browser uploads directly to a private S3 bucket with a presigned PUT, or multipart above 50 MB, so video never passes through Next.js. MediaConvert transcodes it; an EventBridge rule fires a Lambda that runs ffprobe on the output and validates the real duration rather than trusting the browser. An hourly Lambda aborts abandoned multipart uploads and reconciles stale rows.

Reviewers get CloudFront signed playback that expires after 30 minutes, plus ratings and notes per candidate, and jobs move through a filled state when the role closes. The whole stack is one CDK app: Fargate behind an ALB and CloudFront, a single-AZ db.t4g.micro Postgres reachable only from the task and the processing Lambdas, VPC endpoints for S3 and Secrets Manager. Database access from outside stays closed except during a migration window.

⏱ Timetable

Timeline

  1. MVP built
  2. Candidate experience redesigned
  3. Filled job lifecycle
  4. Fargate task resized down
Next.jsPostgreSQLDrizzleAWS CDKS3MediaConvertCloudFrontECS FargateLambda
Sources and method

Written from the project's code, documentation and commit history, reviewed in November 2026. Business figures come from me. Clips and screenshots are labelled with where they came from; none show customer data.

  • video-interview/README.md
  • video-interview/infra/app.ts
  • git log