From Zero to Production
This page is a practical implementation path to build and ship a PURISTA application.
Phase 1: Foundation
- Create project and run quickstart flow.
- Create first service, command, and subscription.
- Add schema validation for payload/parameter/output.
- Add unit tests for service/command/subscription.
Reference:
Phase 2: Integration-ready logic
- Add stores (config/secret/state) where required.
- Define resources (DB clients, external SDK wrappers).
- Expose required commands through REST endpoints.
- Add invoke relations (
canInvoke) explicitly.
Reference:
Phase 3: Runtime architecture
- Choose event bridge based on delivery requirements.
- Choose deployment model (monolith, microservice style, edge, serverless).
- Configure graceful shutdown and startup ordering.
Reference:
Phase 4: Production readiness
- Enable tracing and metrics with OpenTelemetry.
- Add endpoint protection/auth middleware.
- Validate error handling and timeout behavior.
- Run integration tests against real broker/store setup.
Reference:
Release checklist
- schemas are explicit and stable
- no accidental
any/unknownin core paths - tests cover happy path and failure path
- runtime config is documented
- observability and shutdown behavior verified
