Scalcite is a library to query 💬 and update ✏️ JSON data 📄

⚠️ PLEASE, DO NOT EDIT THIS FILE. IT IS AUTOGENERATE YOU SHOULD EDIT modules/scalcite-docs/src/main/mdoc/README.md WITH THE COMMAND sbt scalcite-docs/mdoc


Scalcite


Scalcite is a library to query 💬 and update ✏️ JSON data 📄

This library use https://github.com/apache/calcite


Components

Server

Is an Akka Microservices using DDD with ZStreams Tapir

sbt scalcite-server/run

http://0.0.0.0:8080/api/v1.0/docs


Docker

sbt "scalcite-server/docker:publishLocal" && \
docker run --rm -p 8080:8080 mvillafuertem/scalcite-server:0.1.1

Console

Is an util project to play with json through SQL

sbt clean compile

./modules/scalcite-console/sqlline

!connect jdbc:calcite:model=modules/scalcite-console/target/scala-2.13/classes/model.json admin admin

!tables

!describe PERSON

SELECT "favoriteFruit" FROM scalcite;

SELECT "personalinfo.address" FROM scalcite;

UI

Is a UI project created with React using Slinky

Sequence Diagram

modules/scalcite-docs/src/main/resources/diagram-sequence.png

Monitoring

APM