Skip to main content
Backpex

Admin panels for Phoenix LiveView. Just list your fields.

Point Backpex at an Ecto schema and list your fields. You get index, detail and edit views with search, filters and actions, all of it yours to customize.

Free and open source under the MIT license

lib/shop_web/admin/product_live.ex
1defmodule ShopWeb.Admin.ProductLive do
2 use Backpex.LiveResource,
3 adapter_config: [⋯ schema, repo, changesets ⋯],
9 layout: {ShopWeb.Layouts, :admin}
10
11 alias Backpex.Fields
12
13 @impl Backpex.LiveResource
14 def fields do
15 [
21 ]
22 end
23
24 @impl Backpex.LiveResource
25 def singular_name, do: "Product"
26
27 @impl Backpex.LiveResource
28 def plural_name, do: "Products"
29end

Click a field to comment it out

5/5 fields

Production-ready in 30 minutes. Customizable down to the last field.

The things every back office needs are built in. When you need something special, it's regular Phoenix code you can extend or override.

  • Authorization

    Decide per action and per item who may do what, with plain pattern matching.

  • Live updates

    Changes by other users show up instantly, powered by Phoenix PubSub.

  • Item actions

    Add custom actions for a single item or everything you've selected.

  • Custom fields

    Write your own field types when the built-in ones aren't enough.

  • Translations

    Translate every label and message with Gettext or your own translator.

  • Themeable

    Built on Tailwind CSS and daisyUI, so it fits the look of your app.

Loved by developers who ship admin panels.

Just this morning, I created a full admin site for all the schemas in my application and even got into the details of field customizations, computed fields, etc. To be completely done with that and have custom actions for some resources was just fantastic.

James Carr

I've recently started playing around with Backpex, and I have to say that I'm very impressed. Previously, I've primarily worked with Python codebases, and I'm a big fan of Django Admin, which seems to me like a clear equivalent.

Ondřej Zapletal

Backpex is a customizable admin panel built for Phoenix LiveView applications. It allows you to quickly create customizable views for your existing data. And has some great features like search and filters, authorization, and supports associations.

ElixirCasts

Built and maintained by naymspace.

We're a developer-led software company from Kiel, Germany. One team takes your project from analysis to operations: we design, build and run software that critical processes depend on.

Visit naymspace.de

Have a project in mind? We reply within 24 hours.

Companies naymspace builds software for

  • OTTO
  • Porsche
  • Deutsche Bahn
  • Öko-Test
  • Columbia University
  • Kiel University

Stuck? Ask the people who build it.

Tell us what you're working on and where you're stuck. The more detail you share, the better we can help.

Questions, answered.

Didn't find yours? Ask on GitHub or use the support form.

Where can I find the documentation?

We provide extensive documentation including a Getting Started Guide. Check out the official Backpex documentation on hex.pm.

I found a bug. Where should I report it?

Please create a GitHub issue and select "Bug Report". Make sure you are using the latest version and that it's not an error on your side.

Where can I suggest new features?

We welcome feature suggestions! Please create a GitHub discussion and use the "Ideas" category.

How can I contribute to Backpex?

You are welcome to contribute! Check out our contribution guide for detailed instructions.

Can I use Backpex in commercial projects?

Yes! Backpex is licensed under the MIT licence and can be used in commercial projects.

Where can I get support?

Use our support form on this page and we'll get back to you. You can also start a GitHub discussion in the Q&A category.

Is the code open source?

Yes! The source code is available on GitHub .

Your next admin panel is a few fields away.

Add Backpex to your Phoenix app, describe your first resource and see it running today.