3 releases
0.1.2 | Apr 4, 2022 |
---|---|
0.1.1 | Apr 4, 2022 |
0.1.0 | Apr 3, 2022 |
#62 in #query-engine
130KB
2K
SLoC
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"
lib.rs
:
A graph database and query engine
Copyright (c) 2021 Tsang Hao Fung
Dependencies
~41–74MB
~1M SLoC