https://github.com/nachiket-p/red-loopback
Provides glue code for using LoopBack & Node-RED, also provides additional nodes for loopback.
https://github.com/nachiket-p/red-loopback
loopback node node-red nodejs
Last synced: 9 days ago
JSON representation
Provides glue code for using LoopBack & Node-RED, also provides additional nodes for loopback.
- Host: GitHub
- URL: https://github.com/nachiket-p/red-loopback
- Owner: nachiket-p
- Created: 2017-04-11T12:13:03.000Z (almost 9 years ago)
- Default Branch: master
- Last Pushed: 2017-07-21T10:40:07.000Z (over 8 years ago)
- Last Synced: 2025-10-28T01:36:29.634Z (3 months ago)
- Topics: loopback, node, node-red, nodejs
- Language: HTML
- Homepage:
- Size: 71.3 KB
- Stars: 8
- Watchers: 3
- Forks: 2
- Open Issues: 0
-
Metadata Files:
- Readme: README.md
Awesome Lists containing this project
README
# red-loopback
**red-loopback** glues [LoopBack](https://loopback.io/) & [Node-Red](https://nodered.org/) together and provides features on top of it.
[LoopBack](https://loopback.io/) is great as a node framework. It is built on top of [Express JS](https://expressjs.com/).
[Node-Red](https://nodered.org/) gives visual flow based interface.And its great for wiring together nodes (*it has tons of ready to use nodes in its catalogue*)
### Usecases
Theratically, you can write most of your business logic code in Node-RED. But idea is to use flow based approach for side-effects like notifications, alerts, scheduler jobs, dashboard services etc.
Some of the cases for a hypothatical project management system
* When a task is assigned to a user, he should get email/sms notification.
* When a task is added, subscribing creator & assigner to that task.
* When a task is updated, sending update notification to subscribed users of that task.
* Generating weekly summary & emailing all the users of each project
* Dashboard services & Dashboard UI as well
### Loopback Nodes
red-loopback provides following nodes.
* **Code Block**: For executing any javascript code
* **Operation Hook**: Loopback Model Operation Hook
* **Method Call**: For calling any Loopback Model method
* **Remote Hook**: Enables you to execute a function before or after a remote method is called by a client
* **Opration Hook**: Observes to models and allows to do something when a model performs a specific operation
* **Hook End**: Terminates both opration and remote hooks
* **Hook End Error**: Terminates both opration and remote hooks with error
### Installation
### Examples
Following repository contains a example of red-loopback.
https://github.com/nachiket-p/red-loopback-example