TDIS Developer Docs
Welcome to the Digital Insurance Store developer documentation.
See also: Confluence docs
Prerequisites
- Node.js 20+
- Yarn 4 (installation guide)
- Docker
- Markdown Preview Mermaid Support (VS Code)
Quick Start
# Install dependencies
yarn install
# Start Docker services (DynamoDB, Jaeger)
docker compose up -d
# Seed the database
yarn dev --filter @dqp/ddb-maintenance
# Run everything
yarn dev
Common Commands
| Command | Description |
|---|---|
yarn dev | Run all services |
yarn dev:ui | Run UI only |
yarn dev:svc | Run backend APIs only |
yarn dev --filter <name> | Run specific service |
yarn build | Build all packages |
yarn test | Run all tests |
yarn lint | Lint all packages |
yarn typecheck | Type check all packages |
Documentation
- Running Locally - Services, endpoints, environment setup
- DynamoDB - Local database setup and inspection
- Docker - Building and running containers
- OpenTelemetry - Distributed tracing with Jaeger
- Prism Mock Server - Mock Insuramatch API
- Time Travel Testing - Testing time-dependent logic
- Interview Update Flow - PUT node request lifecycle
- Feature Toggles - Feature flag configuration
- Writing Rules - How to write business rules
- Rules Reference - Rules engine overview
- ADR: Rules Engine - Architecture decision record
Local Endpoints
| Service | URL |
|---|---|
| UI | http://localhost:3000 |
| XAPI | http://localhost:5001 |
| PAPI | http://localhost:5002 |
| DynamoDB | http://localhost:8000 |
| Jaeger UI | http://localhost:16686 |