lightingbi
Intelligent analysis system by Rust, A practice rust project.
Usage
Prerequisites
- Rust
- MySQL
Set up the database
- Create new database using
src/schema.sql
Run the application
cargo run --bin lightingbi
Endpoints
GET http://127.0.0.1:5002/playground GraphQL Playground UI
Query Examples
{
users
}
Build
cargo install cross
#x86_64 linux
cross build --target=x86_64-unknown-linux-musl --release --features vendored
#docker
docker build -t lightningbi:0.1.0 .
#doc
cargo doc --no-deps --workspace --open