Design an admin panel generator like React-Admin or Retool: resource schemas, generated list and edit views, permissions
Problem
Design a tool that generates internal admin panels from a description of the data, in the spirit of React-Admin, Django admin or Retool. A developer points it at a backend, describes the resources (users, orders, products, refunds, support tickets), and gets a working panel:
- a list view per resource with columns, search, filters, sort and pagination, for tables from a few hundred to millions of rows;
- create and edit forms with validation, including relations (an order belongs to a customer and has many items);
- a detail page with related records;
- bulk actions (export, archive, change status, refund) on selected rows or on everything matching a filter;
- permissions by role, down to individual actions and fields (support agents can see orders but not edit refunds above a limit, and never see card details);
- an audit log of who changed what.
Ref. UR-1470 · © UIRound · uiround.com/questions/design-an-admin-panel-generator-like-react-admin-or-retool-resource-schemas-generated-list-and-edit-views-permissions
Unlock this question
The full problem and its complete answer are part of Pro.
- 2
- code listings
- 4
- follow-up questions
What's inside
- The full problem, with examples
- Step-by-step
- Requirements
- Architecture
- Data model and state
- Key flows and trade-offs
- Performance and reliability
- Follow-up questions
- Card worldwide
- UPI and net banking in India
- One-time payment, nothing renews
Stuck? Take a hint
- 1Start from the resource schema: fields with types, validation, relations and capabilities (sortable, filterable, editable). Everything the generator produces, list, filters, forms and detail pages, should be derived from it.
Practise this round first
Work through the steps of a design framework on a 45-minute clock, writing notes as you would say them out loud. The model answer stays hidden until you finish, then you check your design against 8 checkpoints.
Requirements, Architecture, Data model, Interface, Optimizations. The common choice for frontend rounds. How it works
Private, and saved in this browser as you type. All your notes are on My lists.