Vehicle tracking system
  • Go 34.9%
  • Java 24.1%
  • Python 22.7%
  • TypeScript 10.7%
  • CSS 2.7%
  • Other 4.9%
Find a file
2026-11-04 22:12:55 -03:00
backend chore: consolidate gitignore entries at project root 2026-11-03 19:10:45 -03:00
config fix(service-registry): standardize capitalization in config module's error messages 2026-11-03 18:51:08 -03:00
frontend feat(frontend): add initial React map application 2026-11-04 22:12:55 -03:00
.gitignore chore: consolidate gitignore entries at project root 2026-11-03 19:10:45 -03:00
README.md feat: add README 2026-11-03 18:55:57 -03:00

RHOMBUS

A vehicle tracking system designed for real-time location tracking.

RHOMBUS is a polyglot monorepo: each module uses the language that best suits its responsibilities. The project is in an early development stage. Currently, the service registry and its client integrations are operational; the tracking functionality is not implemented yet.

Layout

rhombus/
├── backend/
│   ├── vehicle_manager/   # Python 3.12 — vehicle registration & lookup
│   └── vehicle_tracker/   # Java 21, Spring Boot, Kafka client
└── config/
    ├── service-directory.yaml
    └── service_registry/  # Go — serves the static directory over HTTP

Modules

Service registry (Go). Loads and validates config/service-directory.yaml, then exposes service configuration through GET /location_for/{service_id}. It provides a centralized, static directory that modules can query to retrieve service addresses.

vehicle_manager (Python). An in-memory manager responsible for vehicle registration, lookup and removal. Each vehicle is identified by a UUID. Its CLI includes a client that queries the registry for the module's configured location.

vehicle_tracker (Java). A Spring Boot application with a Kafka client dependency and a registry client that retrieves the module's configured location. It also includes a Dockerfile. Kafka event consumption and tracking logic are not implemented yet.

Running

Start the registry (from config/service_registry):

go run ./cmd/registry -directory ../service-directory.yaml

It listens on 127.0.0.1:5555 by default (-addr to change it).

Python module (from backend/vehicle_manager):

pip install -e ".[dev]"
vehicle-manager   # or python -m vehicle_manager
pytest

Java module (from backend/vehicle_tracker):

mvn test
docker build -t rhombus-vehicle-tracker .

Go tests (from config/service_registry):

go test ./...

Status

  • Registry address is currently hardcoded to 127.0.0.1:5555 in the clients. This is intentional; a configurable registry address has not been introduced yet.
  • No orchestration yet (Compose, task runner or CI).
  • Real-time vehicle tracking is the project's goal, but tracking logic and event processing are not implemented yet.