Quick start
Run the gateway directly without cloning anything:http://localhost:8787.
Build from source
Clone the repository and build when you need to customise the gateway or pin a specific version.Install dependencies and build
npm run build runs rollup -c to produce optimised CommonJS bundles in the build/ directory.Development mode
For local development with live reload:npm run dev:node uses tsx to run src/start-server.ts directly without a build step.
Production configuration
Place aconf.json file in the project root before starting the server. The gateway loads it at startup:
conf.json
REDIS_CONNECTION_STRING environment variable before starting the server:
Available scripts
| Script | Description |
|---|---|
npm run dev:node | Development server with tsx (no build step) |
npm run build | Production build with Rollup |
npm run start:node | Start production server from build/ |
npm run test:gateway | Run gateway tests |
npm run format | Format code with Prettier |