This project shows how to connect to Materia serverless KV store from Clever Cloud and send commands through a TCP interface. It authenticates you with a biscuit-based token, sends commands and prints responses:
AUTH
PING
SET my_key the_value
SET my_key2 the_value2
SET my_key3 the_value3
KEYS *
GET my_key2
DEL my_key3
FLUSHDB
You need V language and to create a Materia KV add-on on Clever Cloud and set the KV_TOKEN
:
export KV_TOKEN=<YOUR_KV_TOKEN>
v run .
This project is licensed under the MIT License - see the LICENSE file for details.