Skip to content

Development ​

The Edge Protection monorepo uses pnpm workspaces, Nx for task orchestration, and just as a task runner.

Monorepo Structure ​

Tech Stack ​

LayerTechnology
Horizon APINode.js 20, Express, Prisma, PostgreSQL, ClickHouse
Horizon UIReact 19, Vite, Tailwind CSS, Zustand, React Query
Synapse WAFRust (nightly), Cloudflare Pingora
Client toolsTypeScript, synapse-api library
Buildpnpm, Nx, Cargo, just

Quick Commands ​

TaskCommand
Start everythingjust dev
Start Horizon onlyjust dev-horizon
Start Synapse onlyjust dev-synapse
Build alljust build
Test alljust test
Lint alljust lint
Type-checkjust type-check
Full CI pipelinejust ci
Check local servicesjust services

Run just --list for the complete recipe catalog.

Section Guide ​

PageContent
Local EnvironmentPrerequisites, database setup, service startup
BuildingBuild commands for each project, Docker builds
TestingTest suites, integration tests, CI pipeline
BenchmarksCriterion.rs benchmarks, performance testing

Licensed under AGPL-3.0 · atlascrew.dev