Skip to content
sandboxrouting

Development

From README.md, rendered when the site was built.

npm install
npm run lint         # ESLint over the whole repository (each check runs through hushrun)
npm run typecheck    # adapters are checked against the real provider SDK types
npm test             # the Docker ones run real containers when Docker is up
npm run simulate     # compare the routing strategies on a simulated month
npm run build && node dist/cli.js providers

back/ and dashboard/ are npm workspaces with their own checks: npm run lint|typecheck|test|build -w back (or -w dashboard). back's tests run on PGlite, a real Postgres in WebAssembly; TEST_DATABASE_URL=postgres://… runs them on a Postgres server instead, each test in its own database. cd back && DATABASE_URL=pglite:memory npm run dev starts back with nothing to set up.

CI runs lint, typecheck and the tests through hushrun, which skips what this exact code already passed: a test file that passed on the exact files it read doesn't run again. See CONTRIBUTING.md to send a change, and SECURITY.md to report a vulnerability.