All jobs / Full-stack developer / End-to-End Architecture

Full-stack developer interview question · 1–3 years

UI and API live in one repo. Both need the `Invoice` shape.

How do you share the shape?

The strongest answer

A shared package or generated types from the spec, imported by UI and API — not a pasted interface in both repos

Why it works

Exactly. The point of a monorepo (or a spec package) is one change, two compile errors. Paste is drift.

What a good answer covers

Answers that fall short

Who gets asked this

More End-to-End Architecture questions