ruf-io / mz-mock

Geek Repo:Geek Repo

Github PK Tool:Github PK Tool

Materialize Mock Service

This project utilizes the PostgreSQL Wire Protocol to generate a mock service for Materialize. The project uses the pgproto3 library as the encoder and decoder of the PostgreSQL wire protocol version 3.

Demo

To access the demo use the following psql command:

psql -U materialize -h psql.bobby.sh -p 6875

Output:

▄▄▄             ╷╷╷
████▄          ││││    Materialize TUI
 ▀████▄     ╷│ ││││    ===============
█▄ ▀████▄ ╷│││ ││││    Commands:
███▄ ▀████▄│││ ││││     - SHOW HELP;
▀████▄ ▀████▄│ ││││     - SHOW DOCS;
▄ ▀████▄ ▀████▄││││     - SHOW GITHUB;
██▄ ▀████▄ ▀████▄││     - SHOW DEMOS;
████▄ ▀████▄ ▀████▄

materialize=> SHOW DOCS;

You can also access the URL directly via your browser:

https://psql.bobby.sh/

Preview:

image

Running the demo

To run the demo locally, you can use the following command:

docker-compose up -d

Useful links

About

License:Apache License 2.0


Languages

Language:JavaScript 42.1%Language:HTML 26.4%Language:Go 23.7%Language:CSS 4.8%Language:Dockerfile 2.9%