Include example backend implementation for the connect feature

This commit is contained in:
Dan Sosedoff
2022-12-01 16:31:02 -06:00
parent 6c3bd96606
commit 9b8cbb05e3
7 changed files with 166 additions and 0 deletions

View File

@@ -0,0 +1,18 @@
# connect-backend-ruby
Example Ruby backend for Pgweb Connect feature
## Usage
Install and run the backend:
```bash
bundle install
ruby main.rb
```
Configure pgweb:
```bash
pgweb --sessions --connect-backend=http://localhost:4567 --connect-token=test
```