How hcengineering/platform works
Huly is a platform framework for business applications, including Chat, project management, CRM, HRM, and ATS. Its documented programmatic entry point is a typed API client; the sampled code also shows a presentation middleware layer and a server pipeline assembled from middleware. Persistence has PostgreSQL and MongoDB adapters, while communication and Hulylake provide distinct messaging and blob-storage capabilities. The excerpts do not establish how these subsystems are wired end to end, so uncertain connections are omitted.
Main entry points: src/pipeline.ts Presentation pipeline · src/pipeline.ts Server pipeline · src/storage.ts PostgreSQL adapter · src/storage.ts MongoDB adapter
Components 15
Client access
- Typed API client
foundations/core/packages/api-client/src/client.ts - Client core
foundations/core/packages/client/src/index.ts - Presentation pipeline
packages/presentation/src/pipeline.ts
Platform runtime
- Server pipeline
server/server-pipeline/src/pipeline.ts - Server core
foundations/core/packages/core/src/server.ts - Business applications
Persistence and blobs
- PostgreSQL adapter
foundations/server/packages/postgres/src/storage.ts - MongoDB adapter
foundations/server/packages/mongo/src/storage.ts - PostgreSQL
- MongoDB
- Hulylake server
foundations/hulylake/server/src/main.rs
Communication
- Communication server
foundations/communication/packages/server/src/index.ts - Event storage middleware
foundations/communication/packages/server/src/middleware/storage.ts - Communication database
foundations/communication/packages/cockroach/src/index.ts
Other components
- API consumer
Connections 6
- API consumer → Typed API client: uses
- Presentation pipeline → Client core: delegates queries
- Server pipeline → Server core: creates pipeline
- PostgreSQL adapter → PostgreSQL: reads and writes
- MongoDB adapter → MongoDB: reads and writes
- Event storage middleware → Communication database: stores events