Installation

  npm install @djaty/djaty-nodejs

Import and initiate

Import djaty-nodejs module at the top of the app entry file, i.e, app.js then initiate it.

const {djaty} = require('@djaty/djaty-nodejs');
djaty.init({
  apiKey: 'YOUR_PROJECT_API_KEY_HERE',
  apiSecret: 'YOUR_PROJECT_API_SECRET_HERE',
});

Just configure the apiKey and the apiSecret and Djaty will be ready!