Ecosyste.ms: Awesome
An open API service indexing awesome lists of open source software.
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 📄
- Host: GitHub
- URL: https://github.com/mvillafuertem/scalcite
- Owner: mvillafuertem
- License: mit
- Created: 2019-02-10T20:49:05.000Z (over 5 years ago)
- Default Branch: master
- Last Pushed: 2024-05-07T23:00:08.000Z (6 months ago)
- Last Synced: 2024-05-09T14:26:04.797Z (6 months ago)
- Topics: apache-calcite, circe, jsoniter-scala, scala, tapir, zio, zio-streams
- Language: Scala
- Homepage:
- Size: 1.46 MB
- Stars: 10
- Watchers: 1
- Forks: 3
- Open Issues: 36
-
Metadata Files:
- Readme: README.md
- License: LICENSE
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)