Sha256: 8b1cf2a65308c2640e15157ebd72667060dacd4cefc0ef19203b2f4d2cc58bf6

Contents?: true

Size: 866 Bytes

Versions: 13

Compression:

Stored size: 866 Bytes

Contents

# Admin UI

`pg_eventstore` implements admin UI where you can browse various database objects. Key features:

- events lookup using filtering by stream context, stream name, stream id and event type
- subscriptions management and monitoring

![Events lookup](images/events_lookup.jpg)
![Subscriptions](images/subscriptions.jpg)

## Authorization

Admin UI is implemented as a rack application. It doesn't have any built-in authentication/authorization mechanism - it is your responsibility to take care of it.

### Rails integration

In your `config/routes.rb`:

```ruby
require 'pg_eventstore/web'

mount PgEventstore::Web::Application, at: '/eventstore'
```

### Standalone application

Create `config.ru` file and place next content in there:

```ruby
require 'pg_eventstore/web'

run PgEventstore::Web::Application
```

Now you can use any web server to run it.

Version data entries

13 entries across 13 versions & 1 rubygems

Version Path
pg_eventstore-1.7.0 docs/admin_ui.md
pg_eventstore-1.6.0 docs/admin_ui.md
pg_eventstore-1.5.0 docs/admin_ui.md
pg_eventstore-1.4.0 docs/admin_ui.md
pg_eventstore-1.3.4 docs/admin_ui.md
pg_eventstore-1.3.3 docs/admin_ui.md
pg_eventstore-1.3.2 docs/admin_ui.md
pg_eventstore-1.3.1 docs/admin_ui.md
pg_eventstore-1.3.0 docs/admin_ui.md
pg_eventstore-1.2.0 docs/admin_ui.md
pg_eventstore-1.1.5 docs/admin_ui.md
pg_eventstore-1.1.4 docs/admin_ui.md
pg_eventstore-1.1.3 docs/admin_ui.md