Projects / Understudy

Tools

Understudy

A rehearsal for one role. The Next.js app takes a job description and a background. A NestJS API runs the live interview over a WebSocket. A BullMQ worker extracts requirements, writes the plan, and scores the session so that work does not block the next question. With no model key, a local interviewer still plans, follows up, and writes the scorecard. Coding questions, a system-design board, spoken lines, and company-specific interviews sit on the same loop.

NestJSNext.jsBullMQPostgreSQLRedis

01 Walkthrough

One short demo and two screens from the product.

VIDEO COMING SOON

Preview not available yet

PICTURE COMING SOON

Preview not available yet

Coming soon
PICTURE COMING SOON

Preview not available yet

Coming soon

02 Stack layers

Room

Next.jsLive interviewScorecard

API

NestJSWebSocketFollow-ups

Worker

BullMQPlansPostgres

03 Architecture

REQUESTWS interview:answertracing
answerparsephrasefollow-upWebNext.js roomCLIENTNest APISocket · follow-upSVCRedisBullMQQUEUEWorkerPlan · scoreSVCPostgresSessionsDATAInterviewerModel · localEXT

Setup posts the job and background. A BullMQ worker writes the plan. The live room stays on the API socket, which picks a follow-up before the next question. Scorecards return through Redis.

  • Plan, live interview, and scorecard across web, API, and worker
  • Follow-ups from short, vague, or team-only answers
  • Local interviewer fallback, plus coding and system-design rooms

04 Engineering challenges

01

The slow work stays off the socket

Parsing the role and writing the scorecard go through Redis. The follow-up is decided on the API, in the request, before the next planned question.

02

A rehearsal with no model key

When OpenAI is unset, or a model call fails, the same functions fall back to the local interviewer. The session records which path wrote the plan and the scorecard.

03

The posting chooses the room

JavaScript, TypeScript, or Node adds one coding question with checks in the browser. A system-design ask adds a board. The function or the diagram is the answer.

04

Coverage before the interview starts

Each requirement is marked covered, light, or probe from a sentence in the background. A preview runs that extraction before a session is stored.

05 Trade-offs & decisions

BullMQ workervsScore on the API request

A burst of parsing and scorecards stays in its own process, so the live room can ask the next question.

Local interviewervsModel required

The loop still plans, follows up, and scores on a machine with no API key.

Shared Zod contractsvsPer-app types

The web app, the API, and the worker import one schema package and do not import each other.