Ecosyste.ms: Awesome

An open API service indexing awesome lists of open source software.

Awesome Lists | Featured Topics | Projects

https://github.com/mvillafuertem/scalcite

Scalcite is a library to query 💬 and update ✏️ JSON data 📄
https://github.com/mvillafuertem/scalcite

apache-calcite circe jsoniter-scala scala tapir zio zio-streams

Last synced: about 4 hours ago
JSON representation

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

Awesome Lists containing this project

README

        

:warning: 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

```bash

sbt scalcite-server/run

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

```

#### Docker

```shell script

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

```bash

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](modules/scalcite-docs/src/main/resources/diagram-sequence.png)

## Monitoring

![APM](modules/scalcite-docs/src/main/resources/kibana.png)