sails-hook-ignite

1.0.0-RC2 • Public • Published

sails-hook-ignite

A sails hook to integrate your Sails app into an Apache Ignite grid with the hugheba-graaljs-ignite module.

This hook only works for Sails apps running under GraalVM/GraalJS implementation of node.

Version Info

Quick Start

Installation

From your Sails app:

$ npm install sails-hook-ignite --save

Configuration

Create a new config file in your project config/ignite.js with the contents:

module.exports.ignite = {
}

Modify the configuration properties in accordance to the underlying hugheba-graaljs-ignite module.

Usage

Access the configured IgniteBridge.

var igniteBridge = sails.hooks.ignite.get();

Project

Example App

The git repo contains an example Sails app running sails-hook-ignite.

To boot the example app, run the following command:

$> ./gradlew module-sails-example-app:runExampleApp

Once booted you can browse to http://localhost:1337 in your web browser.

Readme

Keywords

none

Package Sidebar

Install

npm i sails-hook-ignite

Weekly Downloads

0

Version

1.0.0-RC2

License

none

Unpacked Size

2.29 kB

Total Files

3

Last publish

Collaborators

  • hugheba