verae-nats-process/README.md

45 lines
1.4 KiB
Markdown

# verae-nats-process
[![standard-readme compliant](https://img.shields.io/badge/readme%20style-standard-brightgreen.svg?style=flat-square)](https://github.com/RichardLitt/standard-readme)
Template for a new **addressed messaging process** on the central Verae NATS.IO cluster.
**Repo:** https://git.georgelambert.org/marchon/verae-nats-process
**Clone:** `ssh://git@git.georgelambert.org:2223/marchon/verae-nats-process.git`
**Overview:** https://zapier.georgelambert.org/overview/README.pdf
**Routing:** https://zapier.georgelambert.org/packages/verae-nats-process/ROUTING.pdf
```bash
npm test
npm start # /health on 127.0.0.1:13900
```
1. Duplicate this repository (new Forgejo name).
2. Edit `src/subjects.js` — `verae.<area>.<resource>.*`.
3. Replace `handle()` in `src/handle.js`.
4. Update `ROUTING.md`; add a fleet service with `min`/`max`.
5. If Zapier needs the result, add HTTPS on **verae-middleware** only.
Zapier cloud must not subscribe. See [address routing](https://zapier.georgelambert.org/overview/06-address-routing.pdf).
## Install
```sh
git clone ssh://git@git.georgelambert.org:2223/marchon/verae-nats-process.git
cd verae-nats-process
```
## Usage
```sh
npm install
npm start
```
## Contributing
Questions: open an issue at https://git.georgelambert.org/marchon/verae-nats-process/issues. Pull requests are accepted.
## License
UNLICENSED © George Lambert