Marketplace admin dashboard — Axum + Bootstrap 5.3.3
- Rust 99.4%
- Makefile 0.6%
- User suspend/activate buttons - OSIS object counts on dashboard (10 types) - Bank transfer approval form in settings |
||
|---|---|---|
| src | ||
| .gitignore | ||
| Cargo.toml | ||
| Makefile | ||
| README.md | ||
Marketplace Admin Dashboard
Standalone admin panel for the Project Mycelium Marketplace. Communicates with the marketplace backend over its JSON-RPC API — no shared database access.
Prerequisites
- Rust 1.75+ (install via rustup)
- A running marketplace backend (default:
http://localhost:8001)
Quick start
# Build
make build
# Run in development mode (uses defaults)
make dev
# Run in release mode
make run
The admin panel listens on http://localhost:9000 by default.
Configuration
All configuration is via environment variables:
| Variable | Default | Description |
|---|---|---|
ADMIN_PORT |
9000 |
Port the admin server listens on |
ADMIN_JWT_SECRET |
(required) | Secret for signing admin session JWTs |
ADMIN_USER |
admin |
Admin login username |
ADMIN_PASS_HASH |
(empty = any) | Argon2 hash of admin password |
MARKETPLACE_RPC_URL |
http://localhost:8001/api/v1/marketplace/main/rpc |
Marketplace RPC endpoint |
BRANDING_CONFIG |
(optional) | Path to branding.toml for white-label |
Build targets
| Target | Description |
|---|---|
make build |
Release build |
make run |
Build + run in release mode |
make dev |
Run in debug mode with RUST_LOG=debug |
make check |
Fast cargo check |
make fmt |
Format code |
make clean |
Remove build artifacts |
Standalone operation
This crate is fully independent. It has its own Cargo.toml and can be built
without the main marketplace codebase:
cd admin
cargo build