NodeJS integration

Find out how to integrate JSQL with NodeJS

Stack requirements

The JSQL NodeJS library will not work without an account in the JSQL cloud, a backend application (API) integrated with JSQL and integration with the tasks of the runner. To learn more see overview.

Installation

Install JSQL Node plugin into your frontend project using NPM:

npm install jsql-node-plugin –save-dev

Integration

Once the plugin has been installed, it may be enabled inside your gruntfile.js with this line of JavaScript:

module.exports = function(grunt) {
  require("./node_modules/jsql-node-plugin/src/jsql-node-plugin")
};

During your own Grunt task will be working (listening) then node plugin will be also working.

Configuration parameters (Api key and Member key) must be defined in to .env file in root project directory

Close Menu