Giter Site home page Giter Site logo

red-loopback's Introduction

red-loopback

red-loopback glues LoopBack & Node-Red together and provides features on top of it.

LoopBack is great as a node framework. It is built on top of Express JS.
Node-Red 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

Recommend Projects

  • React photo React

    A declarative, efficient, and flexible JavaScript library for building user interfaces.

  • Vue.js photo Vue.js

    ๐Ÿ–– Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.

  • Typescript photo Typescript

    TypeScript is a superset of JavaScript that compiles to clean JavaScript output.

  • TensorFlow photo TensorFlow

    An Open Source Machine Learning Framework for Everyone

  • Django photo Django

    The Web framework for perfectionists with deadlines.

  • D3 photo D3

    Bring data to life with SVG, Canvas and HTML. ๐Ÿ“Š๐Ÿ“ˆ๐ŸŽ‰

Recommend Topics

  • javascript

    JavaScript (JS) is a lightweight interpreted programming language with first-class functions.

  • web

    Some thing interesting about web. New door for the world.

  • server

    A server is a program made to process requests and deliver data to clients.

  • Machine learning

    Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.

  • Game

    Some thing interesting about game, make everyone happy.

Recommend Org

  • Facebook photo Facebook

    We are working to build community through open source technology. NB: members must have two-factor auth.

  • Microsoft photo Microsoft

    Open source projects and samples from Microsoft.

  • Google photo Google

    Google โค๏ธ Open Source for everyone.

  • D3 photo D3

    Data-Driven Documents codes.