nauu / lightingbi

Intelligent analysis system by Rust, A practice Rust project.

Geek Repo:Geek Repo

Github PK Tool:Github PK Tool

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

About

Intelligent analysis system by Rust, A practice Rust project.

License:Apache License 2.0


Languages

Language:Rust 98.5%Language:Dockerfile 0.6%Language:Shell 0.5%Language:HTML 0.4%