RedwoodJS Admin

Hi everyone!

I’ve created a RedwoodJS Admin panel generator for RW projects.
It’s a tool that reads your prisma.schema file and generates a full admin panel.

Some features includes:

  • Automatically generated from your prisma.schema file
  • Just re-generate if you update your models
  • Automatic navigation, with icons
  • Search
  • Pagination
  • WYSIWYG-editor
  • Radmin user management
  • Relations support (one-to-one, one-to-many, many-to-many)
  • Custom components for displaying data
  • Custom actions

You can read more here https://redwoodjsadmin.com

This is going to be a paid tool. But let me know if you’re interested in trying it out and I’ll help you get set up. Just go to https://redwoodjsadmin.com and sign up for the newsletter, reply to this thread or send me a DM

13 Likes

does it read the schema on the fly? or we have to regenerate everytime we update the model?

this is one of the great feature i miss from django. really helpful

You need to manually regenerate. I thought about having a watcher on the schema file, but it does take a little while to generate (just like RW’s scaffold generator), so I decided it’s better to manually trigger it for now.

Maybe in the future I can run a diff on the schema file and only regenerate the parts that changed and maybe then it’ll be fast enough to do it on the fly :slight_smile:

In the future maybe this can be another side in rwjs… now we have /web, /api… next, /admin

:sweat_smile:

I’ve now added a newsletter signup form to https://redwoodjsadmin.com, please sign up if you’re interested in trying out Radmin

One of my users wanted to be able to change how dates are formatted, so I’ve added that now.

Here’s a screenshot of where I’ve changed the default relative dates to a more common 2023-10-14 21:53 style

image

The /// @radmin-date tripple slash comment is new. As an “argument” to that comment you can pass either relative or a formatting string like yyyy-MM-dd HH:mm. You can also use single or double quotes if you want "relative", 'yyyy-MM-dd HH:mm'.
I’m using date-fns to format the date, so all their standard formatting options are available: https://date-fns.org/v2.30.0/docs/format.

Here’s one column with custom date formatting, and one column that uses the default relative setting
image

And if this doesn’t cover your needs you can define a custom component or formatting function to use instead when displaying your dates/times.

Would love to try this out @Tobbe – running into the constantly regenerating scaffolding issue and this is what I’m after. Seems like a Django admin of sorts!