1.0.0-RC2 • Published 6 years ago
sails-hook-ignite v1.0.0-RC2
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.