An Axum HTTP Server for processing the queries on remote data sources
First, copy over the environment variables (customize if applicable):
cp .env.example .env
To run the server:
RUST_LOG=info cargo run
// npm alternative
npm start
To develop with the watcher enabled:
RUST_LOG=info cargo watch -x 'run'
// npm alternative
npm run dev
To develop with the watcher enabled:
cargo test
// npm alternative
npm run test
// watcher
RUST_LOG=info cargo watch -x 'test'
// npm alternative
npm run test:watch
To develop with the watcher enabled:
cargo clippy --all-targets --all-features -- -D warnings
// npm alternative
npm run lint
curl http://127.0.0.1:3002/health -i
HTTP/1.1 200 OK
content-length: 0
date: Mon, 08 Jan 2024 22:56:23 GMT