@openhop/server
v0.3.3
Published
OpenHop API server. Fastify app for storing and serving data-flow definitions.
Maintainers
Readme
@openhop/server
Fastify API server for OpenHop — stores and serves data-flow definitions.
This is an internal package consumed by the openhop CLI. You don't need to install it directly — openhop serve and openhop demo boot it for you.
If you do want it standalone (custom integration, embedding the renderer in your own service):
npm install @openhop/serverimport { buildApp } from "@openhop/server"
const app = await buildApp()
await app.listen({ port: 8787, host: "0.0.0.0" })Routes
GET /health— readiness probeGET /api/flows— listPOST /api/flows— create from YAMLGET /api/flows/:id— fetchPATCH /api/flows/:id— apply patch operationsDELETE /api/flows/:id— remove- Swagger docs at
GET /docs
Documentation
Full documentation, schema reference, and the OpenHop story: github.com/naorsabag/openhop
License
MIT © Naor Sabag
