starfish-ql

Crates.iostarfish-ql
lib.rsstarfish-ql
version0.1.2
sourcesrc
created_at2022-04-03 14:45:19.677269
updated_at2022-04-04 05:15:29.191271
descriptionStarfishQL - A graph database and query engine
homepage
repositoryhttps://github.com/SeaQL/starfish-ql
max_upload_size
id561323
size147,549
Chris Tsang (tyt2y3)

documentation

https://docs.rs/starfish-ql

README

StarfishQL

Testing

DATABASE_URL="mysql://root:root@localhost:3306" cargo t --all

Running REST API

cargo r

You might need to setup your database with Docker:

docker run \
    --name "mysql-8.0" \
    --env MYSQL_DB="mysql" \
    --env MYSQL_USER="sea" \
    --env MYSQL_PASSWORD="sea" \
    --env MYSQL_ALLOW_EMPTY_PASSWORD="yes" \
    --env MYSQL_ROOT_PASSWORD="root" \
    -d -p 3306:3306 mysql:8.0
docker stop "mysql-8.0"
docker run \
    --name "mariadb-10.6" \
    --env MYSQL_DB="mysql" \
    --env MYSQL_USER="sea" \
    --env MYSQL_PASSWORD="sea" \
    --env MYSQL_ALLOW_EMPTY_PASSWORD="yes" \
    --env MYSQL_ROOT_PASSWORD="root" \
    -d -p 3306:3306 mariadb:10.6
docker stop "mariadb-10.6"
docker run \
    --name "postgres-13" \
    --env POSTGRES_USER="root" \
    --env POSTGRES_PASSWORD="root" \
    -d -p 5432:5432 postgres:13
docker stop "postgres-13"
Commit count: 351

cargo fmt