Wareboxes is a warehouse management system prototype.
crates/server: Axum HTTP API backed by PostgreSQL and SQLxcrates/client: egui/eframe desktop clientcrates/core: shared models, DTOs, and errorscrates/barcodes: barcode encodersmigrations/postgres: PostgreSQL migrationsscripts: local development and test helpers
- Rust stable
- Docker with Docker Compose
- PostgreSQL is provided by
docker-compose.ymlfor local development
Start the local database and run the server/client:
scripts/dev.shOr run pieces manually:
docker compose up -d postgres
cargo run -p wareboxes-server
cargo run -p wareboxes-clientThe local Postgres container uses host port 5433.
scripts/test-postgres.shOr directly:
TEST_DATABASE_URL=postgres://wareboxes:wareboxes@127.0.0.1:5433/wareboxes \
cargo test --workspace -- --test-threads=1If migrations were changed during development, reset the local database with:
scripts/reset-db.sh