tinyplex / tinybase

The reactive data store for local‑first apps.
https://tinybase.org
MIT License
3.39k stars 67 forks source link

Web Dashboard / Admin UI? #68

Closed Nezteb closed 11 months ago

Nezteb commented 1 year ago

Is your feature request related to a problem? Please describe. When experimenting/debugging, I like having some sort of UI for my databases, such as https://github.com/sqlitebrowser/sqlitebrowser. For TinyBase, I think it'd make sense to have a simple JS web UI that users can interact with their data from.

Describe the solution you'd like Something similar to deployd's web dashboard, which can be used for basic CRUD operations.

Describe alternatives you've considered N/A

Additional context deployd was a cool API builder that is no longer actively maintained. https://github.com/deployd/deployd

jamesgpearce commented 1 year ago

Since TinyBase is in memory, I feel like this would need to be something like a Chrome extension, or maybe more easily some kind of floating window 'in' your app that you would have to enable in code. Would that work?

WonderPanda commented 1 year ago

I feel like taking some inspiration from the TanStack ecosystem and their use of optional Developer Tools would be really awesome!

For example, for the React Query package

You can see the DevTools in action in their samples, eg for the Star Wars example

image

They have similar tooling for the new React Router package and its a super helpful pattern

Nezteb commented 1 year ago

The in-app hover or resizable tab UX both of you mention seems like a great fit!

jamesgpearce commented 11 months ago

Hope you're all trying this out in 4.1 beta. Main release this week!

jamesgpearce commented 11 months ago

Closed out in v4.1