Ecosyste.ms: Awesome
An open API service indexing awesome lists of open source software.
https://github.com/stephanerob/exqui-live
(POC) UI for exq job processing library built with phoenix live view
https://github.com/stephanerob/exqui-live
dashboard elixir elixir-lang phoenix phoenix-framework
Last synced: about 2 months ago
JSON representation
(POC) UI for exq job processing library built with phoenix live view
- Host: GitHub
- URL: https://github.com/stephanerob/exqui-live
- Owner: StephaneRob
- License: bsd-2-clause
- Created: 2021-09-14T08:05:47.000Z (over 3 years ago)
- Default Branch: main
- Last Pushed: 2021-10-28T08:58:13.000Z (about 3 years ago)
- Last Synced: 2023-02-26T17:57:40.930Z (almost 2 years ago)
- Topics: dashboard, elixir, elixir-lang, phoenix, phoenix-framework
- Language: Elixir
- Homepage:
- Size: 601 KB
- Stars: 2
- Watchers: 2
- Forks: 0
- Open Issues: 0
-
Metadata Files:
- Readme: README.md
- License: LICENSE.md
Awesome Lists containing this project
README
# ExquiLive
UI for exq job processing library built with phoenix LiveView
## Installation
If [available in Hex](https://hex.pm/docs/publish), the package can be installed
by adding `exqui_live` to your list of dependencies in `mix.exs`:```elixir
def deps do
[
{:exqui_live, "~> 0.1.0"}
]
end
```### Configure LiveView
The dashboard is built on top of LiveView. If LiveView is already installed in your app, feel free to skip this section.
```elixir
# config/config.exs
config :my_app, MyAppWeb.Endpoint,
live_view: [signing_salt: "SECRET_SALT"]
```Then add the Phoenix.LiveView.Socket declaration to your endpoint:
```elixir
socket "/live", Phoenix.LiveView.Socket
```### Add dashboard access
```elixir
# lib/my_app_web/router.ex
use MyAppWeb, :router
import ExquiLive.Router...
if Mix.env() == :dev do
scope "/" do
pipe_through :browser
exqui_live "/exqui"
end
end
```