quarkusio / quarkus

Quarkus: Supersonic Subatomic Java.
https://quarkus.io
Apache License 2.0
13.82k stars 2.69k forks source link

[Extension Proposal] JPA Admin UI #38698

Open derari opened 9 months ago

derari commented 9 months ago

Description

I am building an extension that adds a Dev UI for showing and managing JPA entities.

image

The goal is to build it in such a way that it is also suitable for production use. I also want to make all UI elements available as qute tags, so that they can be added to any template.

I don't have a good name for the project yet. Working title is "qx admin".

The code is currently hosted here: https://github.com/derari/qx-admin

Technologies used:

Interested in this extension, please +1 via the emoji/reaction feature of GitHub (top right).

Repository name

quarkus-

Short description

Dev UI and Qute templates to manage JPA entities

Repository Homepage URL

https://quarkiverse.github.io/quarkiverse-docs//dev/

Repository Topics

Team Members

Additional context

No response

quarkus-bot[bot] commented 9 months ago

/cc @aloubyansky (extension-proposal), @gastaldi (extension-proposal), @gsmet (extension-proposal), @maxandersen (extension-proposal)

aloubyansky commented 9 months ago

FYI @FroMage

gastaldi commented 9 months ago

Although I understand this may be useful for some use cases, OTOH it may expose unwanted data which may require further (complex?) configuration :)

derari commented 9 months ago

Although I understand this may be useful for some use cases, OTOH it may expose unwanted data which may require further (complex?) configuration :)

Agreed. By default it would be dev-mode only.

sberyozkin commented 9 months ago

Should it become part of the existing Dev services support for DB/Hibernate ?

derari commented 9 months ago

Dont know if it "should", but I would not put it into a core package before it has really matured

maxandersen commented 9 months ago

This somewhat overlaps with renard/panache efforts afaics.

But I don't see any problem having different explorations in this area.

I wouldn't add it to core but just make it a possible extension you can add.

FroMage commented 9 months ago

Ho, very interesting.

This is definitely related to the Renarde Backoffice extension, which generates UI for JPA entities. Although in the case of Renarde Backoffice, this is meant for both DEV and PROD use, not DEV UI, and we don't do Htmx but regular HTML forms (we could change this).

Here are some screenshots of it being used in a deployed app:

Screenshot from 2024-02-12 14-07-08 Screenshot from 2024-02-12 14-06-40 Screenshot from 2024-02-12 14-06-14

Would you be interested in collaborating on this instead?

Serkan80 commented 8 months ago

It would also nice to have an option to perform queries.

So something like this:

image

FroMage commented 8 months ago

Ah yes indeed.

derari commented 6 months ago

quick update: I am still looking into basing my implementation on Renarde. There might be cool synergy effects