Embed within another Phoenix Application #175
Replies: 0 comments 7 replies
-
In theory, we could follow an approach similar to the Phoenix LiveDashboard to accomplish this but I'm unsure how to handle the data. For example, how to handle users and authorization? I'm guessing you'd like your users to have access to it without having to create another account. But Another concern is handling migrations. At first sight, it seems a bit tricky to get migrations right for both the main and the embedded application. I've seen another example of an embedded application but it doesn't use Ecto either. If anyone has any suggestions on how to accomplish this, please let me know. |
Beta Was this translation helpful? Give feedback.
-
Yeah, there's a few places to make the integration happen - here's what I'd look for:
Some good examples I've seen on different pieces of this:
Hope that helps! |
Beta Was this translation helpful? Give feedback.
-
Rather than embedding it within another Phoenix app, it'd be really compelling to be able to embed it into any other app via a custom element with something like LiveState. That would mean it could be used in anything from a Wordpress app, static site, or even another Phoenix app. For non-public resources, there'd need to be some setup so that the client side can receive a user specific public key of some sort. |
Beta Was this translation helpful? Give feedback.
-
I'd love to be able to embed
uneebee
within another Phoenix project - rather then deploy it as a standalone system.Any interest for this? Would love to understand if there is any other interest or demand from others.
Beta Was this translation helpful? Give feedback.
All reactions