https://github.com/s1seven/node-red-monorepo
Suite of Node-RED nodes to interact with S1SEVEN APIs and libraries
https://github.com/s1seven/node-red-monorepo
low-code node-red nodejs
Last synced: about 2 months ago
JSON representation
Suite of Node-RED nodes to interact with S1SEVEN APIs and libraries
- Host: GitHub
- URL: https://github.com/s1seven/node-red-monorepo
- Owner: s1seven
- License: apache-2.0
- Created: 2022-11-09T10:44:15.000Z (over 2 years ago)
- Default Branch: main
- Last Pushed: 2023-03-29T05:59:33.000Z (about 2 years ago)
- Last Synced: 2025-01-28T22:39:37.113Z (4 months ago)
- Topics: low-code, node-red, nodejs
- Language: JavaScript
- Homepage:
- Size: 2.71 MB
- Stars: 0
- Watchers: 2
- Forks: 0
- Open Issues: 2
-
Metadata Files:
- Readme: README.md
- License: LICENSE
Awesome Lists containing this project
README
# Node-Red Monorepo
This is a monorepo to contain all our node red projects. It contains `node-red-chartjs`, `node-red-generate-pdf`, and `node-red-s1seven-api`.
## Starting out
To get started, run:
```sh
npm install
npm run bootstrap
```## Updating packages
`node-red-generate-pdf` needs to be kept up to date, when `@s1seven/schema-tools-generate-pdf` is updated, this package should be updated.
`node-red-chartjs` - When this package is updated, if we want to keep the charts rendering correctly, the user should pin the correct version of @s1seven/node-red-chartjs in their package.json.
`node-red-s1seven-api` only needs to be updated if the implementation of one of the endpoints changes, or if a dependency has a security vunerability.
### Releasing the new packages
Once a release has been made on Github and the node has been updated on npm, the Node Red Flow Library needs to be informed of the update. To do so, go to https://flows.nodered.org/add/node and use the form `3 Add your node to the Flow Library`. Submit the package name, e.g. `@s1seven/node-red`, and click `add node`. The update should be detected, and should then be made available for use. Please note that it can take up to 30 minutes for the update to be made available under the `Install` tab in the `Palette`.
## Example authentication flows
Access tokens now expire after 24 hours and need to be regenerated, you can find an example of how to automate the access token regeneration [here](https://github.com/s1seven/node-red-monorepo/blob/main/packages/node-red-s1seven-api/README.md#authentication)
### Packages documentation
For more information on each project, see the README.md file in each package.
- [node-red-chartjs](https://github.com/s1seven/node-red-monorepo/tree/main/packages/node-red-chartjs)
- [node-red-generate-pdf](https://github.com/s1seven/node-red-monorepo/tree/main/packages/node-red-generate-pdf)
- [node-red-s1seven-api](https://github.com/s1seven/node-red-monorepo/tree/main/packages/node-red-s1seven-api)