How do you describe a JavaScript project you worked on in an interview?
Use the situation, task, action and result structure, and keep the whole thing to about two minutes. The interviewer is not asking for a project summary, they are asking how you think.
// A small structure for describing a project in an interview.
const project = {
name: "Order dashboard",
problem: "Support staff could not see failed orders without exporting to a spreadsheet.",
scale: "Around 4,000 orders a day and 30 daily users.",
stack: ["TypeScript", "React", "Node.js", "PostgreSQL"],
constraints: ["No budget for a new service", "Legacy API could not be changed"],
};
const highlight = (item) => `${item.label}: ${item.value}`;
const talkingPoints = [
{ label: "Problem", value: project.problem },
{ label: "Scale", value: project.scale },
{ label: "Stack", value: project.stack.join(", ") },
{ label: "Constraint that shaped it", value: project.constraints[0] },
];
for (const point of talkingPoints) {
console.log(highlight(point));
}The situation is the context and the constraint, and constraints are the most interesting part. A project built without a budget, against an API you could not change, to serve thirty users with a scale that did not justify a new service, all of that tells the interviewer what kind of decisions you had to make.
The task is what you were personally responsible for. Be specific here. Say that you owned the front end data layer, or that you rewrote the retry logic, rather than saying you worked on the project. The distinction between doing part of a project and owning it is exactly what the follow-up questions are probing.
The action is where you show your judgement. This is where the technical content goes, and it should be the longest part. What you considered, what you chose, and why you chose it over the alternatives. Mentioning one thing you rejected and why makes the decision sound considered rather than lucky.
The result is the outcome, and it should include a number if you have one. Latency before and after, the number of manual steps removed, the error rate before and after, or the size of the bundle you cut. If you have no number, use a concrete change instead, such as the number of files that no longer need a particular pattern.
Prepare two projects. One where you were the main contributor and one where you were part of a team, and be ready to say honestly which parts were yours. Interviewers can tell the difference between someone who owned a decision and someone who was nearby.