@cigale/beamup
v0.6.5
Published
Typed client to send corrections to a CIGALE BeamUp server
Downloads
33
Readme
beamup
Send corrections to a CIGALE BeamUp server.
Client library
Usage
import { sendCorrections } from "@cigale/beamup";
await sendCorrections({
origin: "https://beamup.example.com",
corrections: [ ... ]
})Server
Usage
Use the Docker image:
docker run -p 8000:3000 -e PROD=true -v ./db/:/app/db/:rw ghcr.io/cigaleapp/beamup:latest-p: listen on host machine's :8000-e: set to production mode-v: mount host machine's ./db directory to container's /app/db (make sure that you can write to the dih)
Development
To install dependencies:
bun installTo run:
bun run src/index.tsTo develop:
bun run --watch src/index.tsThis project was created using bun init in bun v1.2.21. Bun is a fast all-in-one JavaScript runtime.
