No description
Find a file
Code Developer 27fea5bd04
Some checks failed
Build macOS Release / build-macos (macos-amd64, x86_64-apple-darwin) (push) Waiting to run
Build macOS Release / build-macos (macos-arm64, aarch64-apple-darwin) (push) Waiting to run
Build and Test / build-test (push) Failing after 3s
Build Linux Release / build-linux (linux-arm64, true, aarch64-unknown-linux-gnu) (push) Failing after 12s
Build Linux Release / build-linux (linux-amd64, false, x86_64-unknown-linux-musl) (push) Failing after 14s
Add admin API, populate presets with progress, graph limits, and proper .gitignore
- Admin API: erase all data (clear_all), detailed per-table stats (table_sizes)
- Two populate presets: Small (100 SN + 10K edges), Big (100 SN + 1M edges)
- Real-time progress tracking during populate via polling endpoint
- Phase timing breakdown in populate results (6 phases with ms)
- Graph node limit: cap D3.js visualization at 1000 nodes max
- Stats UI: per-table record counts, data size, disk file size
- Erase button with confirm dialog
- Untrack data/routing.redb and add proper .gitignore

Co-Authored-By: Claude Opus 4.6 <noreply@anthropic.com>
2026-02-08 20:03:19 +04:00
.github/workflows Optimize build system with build_lib conventions and GitHub Actions workflows 2026-02-08 14:44:14 +04:00
schemas Initial HeroLib server bootstrap 2026-02-08 14:40:02 +04:00
scripts Optimize build system with build_lib conventions and GitHub Actions workflows 2026-02-08 14:44:14 +04:00
src Add admin API, populate presets with progress, graph limits, and proper .gitignore 2026-02-08 20:03:19 +04:00
static init 2026-02-08 19:38:40 +04:00
templates Add admin API, populate presets with progress, graph limits, and proper .gitignore 2026-02-08 20:03:19 +04:00
tests Add admin API, populate presets with progress, graph limits, and proper .gitignore 2026-02-08 20:03:19 +04:00
.gitignore Add admin API, populate presets with progress, graph limits, and proper .gitignore 2026-02-08 20:03:19 +04:00
buildenv.sh init 2026-02-08 19:38:40 +04:00
Cargo.lock Add admin API, populate presets with progress, graph limits, and proper .gitignore 2026-02-08 20:03:19 +04:00
Cargo.toml init 2026-02-08 19:38:40 +04:00
Makefile Optimize build system with build_lib conventions and GitHub Actions workflows 2026-02-08 14:44:14 +04:00
openrpc.json init 2026-02-08 19:38:40 +04:00
README.md init 2026-02-08 19:38:40 +04:00

my_server

A HeroLib-based HTTP server built with Rust 1.92+ and Edition 2024.

Quick Start

Prerequisites

Build & Run

# Development mode (debug)
make rundev

# Release mode
make run

Test the server:

curl http://localhost:2918/health | jq

Available Make Targets

  • make build - Build release binary
  • make rundev - Run in development mode (with debug logs)
  • make run - Run release binary
  • make test - Run all tests
  • make clean - Clean build artifacts
  • make check - Run cargo check
  • make fmt - Format code with rustfmt
  • make clippy - Run clippy linter

Project Structure

.
├── Cargo.toml           # Dependencies (HeroLib packages)
├── buildenv.sh          # Build environment configuration
├── Makefile             # Build system targets
├── src/
│   └── main.rs          # Server entry point
├── schemas/
│   └── models.oschema   # OSchema type definitions
└── .github/
    └── workflows/
        └── ci.yml       # GitHub Actions CI/CD

Dependencies

This project uses HeroLib core packages:

  • herolib-core - Core types and utilities
  • herolib-web - Axum HTTP framework integration
  • herolib-osis - Object storage with SmartID
  • herolib-os - OS abstractions

Resources