Skip to content

Build or buy a Postgres admin panel

You can build an admin panel on Postgres in your own application. You can also connect a product that reads your tables and builds the panel for you. Both paths are valid. The right one depends on how much of the panel you need to invent.

For the product page, see the Postgres admin panel.

This guide sets out what you take on if you build, and what OnlyDash already does.

What you take on when you build the panel

A useful panel needs more than a table component. You need sign-in, roles, and a way to hide tables or rows from each person. You need forms that match your column types, including enums and foreign keys. You need filters, sort and pagination that cannot be bypassed in the browser.

You also need a write path that talks to Postgres, and a record of who changed a row in the panel. If people will connect with other tools, you may also want row-level security in the database. See Postgres row-level security for an admin panel.

Each of those parts is ordinary engineering work. You own the code, so you can shape every screen. You also own the upkeep when the schema changes, when a new table appears, or when a new person needs a different filter.

Libraries that help you build

Two common starting points for a custom panel are AdminJS and react-admin. AdminJS is a library for building an admin interface in a Node.js app. react-admin is a frontend framework for admin interfaces, usually on top of your own API. Check their current features on adminjs.co and marmelab.com/react-admin before you choose them.

Both libraries give you parts of a panel. AdminJS lists role-based access control on its site. react-admin lists fine-grained permissions in its Enterprise Edition. You still write and maintain the code that connects the panel to your data and sets who sees which rows. Sites checked on 20 November 2026.

How OnlyDash builds the panel

Paste a Postgres connection string. OnlyDash tests the connection and reads the base tables, columns, primary keys, foreign keys and enums. It samples up to 1,000 rows per table. Each table gets a grid with filters, sort and pagination, plus forms to create and edit rows. Related records show on the edit pane from your foreign keys.

Invite a teammate. Choose Viewer, Editor or Custom. Hide tables, and set a row filter with is, is one of, or contains. The value can be a fixed value or the member's own email. OnlyDash applies the filter on the server. The filter also applies to charts, search, exports and edits.

Search the tables you can see with Cmd-K. OnlyDash makes charts for each table when it reads your data. Edits go to your database, one row at a time. Activity history records writes made in the panel. Edits made directly in the database are not in the history.

Teammates do not get the connection string. After you save it, nobody sees the password, not even you.

The panel does not show views. If the connected database role only has SELECT on a table, OnlyDash hides the write controls for that table and blocks writes. It does not replace a SQL client such as pgAdmin. For each person, you can hide a column or make it read-only, per table, from the Share panel. A hidden column does not show in that person's table, record details, charts, search, CSV export or row history. See pgAdmin or an admin panel for your team.

Pick a person to see their view

Owner sees 17 of 17 rows

No row filter.

invoices, as Owner sees it
StatusAmountDue dateIssued datePaid date
Unpaid5,000.00Jul 1Jun 1
Paid7,500.00Aug 1Jul 1Jul 15
Paid24,000.00May 1Apr 1Apr 24
Paid31,500.00Jul 1Jun 1Jun 19
Paid42,000.00Jun 1May 1May 28
Paid18,500.00Apr 1Mar 1Mar 21
Paid12,750.00May 1Apr 1Apr 15
Paid9,800.00Jun 1May 1May 9
Unpaid27,300.00Sep 1Aug 1
Unpaid33,900.00Sep 1Aug 1
Unpaid15,600.00Aug 1Jul 1
Unpaid21,400.00Sep 1Aug 1
Overdue8,900.00Jun 1May 1
Overdue46,200.00Jul 1Jun 1
Overdue5,400.00May 1Apr 1
Draft19,750.00Oct 1Aug 1
Draft6,300.00Oct 1Aug 1

Swipe to see more.

Sample rows from the invoices table in the Sample project database, the guest demo on OnlyDash. The demo shows what each person gets after you invite them.

Connect your Postgres database

Paste a connection string, or try the demo with no sign-up. OnlyDash is in beta.

Try the demo, no sign-upConnect your database

Choose a path

Build the panel when you need screens or workflows that a generated grid and form cannot cover, and you have the time to maintain them.

Use OnlyDash when you already have the data in Postgres and you want a panel with access per person. You do not have to build the grid, the forms and the filters yourself.

You can also use both. Keep a custom app for a special workflow, and use OnlyDash for the day-to-day table work. The product page is the Postgres admin panel. For a comparison with a general internal-app builder, see Retool or an instant admin panel for Postgres.

Questions

Does OnlyDash replace a custom admin app?

No. It gives you a panel on your base tables, with roles and row filters. A custom app is still the path when you need a special workflow.

Do I have to write SQL to get the panel?

No. You paste a connection string. OnlyDash reads the schema and builds the grid and the forms.

Can I start with OnlyDash and still keep my own app?

Yes. OnlyDash writes to your database. Your app can keep using the same tables.

How long does setup take?

It depends on your host, your schema and your access rules.

Connect your Postgres database

Paste a connection string, or try the demo with no sign-up. OnlyDash is in beta.

Try the demo, no sign-upConnect your database

For a product overview, see the Postgres admin panel.