OpenBook
  • Problems
  • Tracks
  • How it works
  • Pricing
Start practicingSign In
Problems/Product & Full Stack

17. Shared Docs Editor

Hard

A lightweight shared document editor: rich text that survives reload, file import, and sharing with roles.

90 minute budget0.0% acceptancerich text · sharing · uploads

How this problem works

A small team wants a document editor of their own: create and rename documents, edit them with basic formatting, bring in existing files, and share with colleagues. You get a working shell (login with three seeded users, the document list, create and rename) and finish the product: formatting that persists, upload, sharing, and the rules that make it safe. The app runs live in the Preview tab; the hidden tests drive a real browser.

You get a working shell and finish the product. The workspace has a Preview tab that runs your app live; the hidden tests drive it in a real browser, so expect Run tests to take about a minute.

Requirements

  1. 01Documents have an owner. Create, rename, edit in the browser, autosave, and reopen them; formatting must survive a reload.
  2. 02The toolbar applies bold, italic, underline, two heading sizes and bulleted or numbered lists to the selection.
  3. 03A user can upload a file that becomes a new editable document; unsupported files are refused with a visible message.
  4. 04An owner shares a document with another user by email and role; shared documents are listed apart from owned ones, and access is enforced on the server.
  5. 05Titles are trimmed and must be 1 to 120 characters; invalid input is a 400.

What the hidden tests check

  • Everything the interviewer tells you is checked, in a real browser.
  • Two users in two browsers exercise every sharing rule; uploads of several kinds are tried.

4 more details are held back. In a mock interview they come out only when you ask the interviewer the right question; in practice they are listed in the workspace.

Sign in to start

Attempts, files and transcripts are saved to your account so the grader can review how you worked.

Sign inCreate an account
OpenBook

Practice for interviews where you build a feature with an AI assistant.

Early preview. Problems, grading and the interviewer are still changing.

Practice

  • Problems
  • Tracks
  • How it works
  • Pricing

Legal

  • Terms
  • Privacy
© 2026 OpenBook.