/nodejs-sdk-quickstart

Quickstart sample app that shows how to trigger notifications from a Node.js app using Novu.

Primary LanguageJavaScript

nodejs-sdk-quickstart

Configuration

Create a free account in Novu

  1. Go to Novu and click Sign Up.
  2. Use GitHub Account to login.

Obtain Credentials

Your project needs to be configured with the API key from your Novu dashboard.

Run the Quickstart

Before continuing, please ensure you have Node.js installed and accessible from your shell.

Next, use the following command to install the necessary dependencies:

npm install

Create .env file and paste your API key:

NOVU_API_KEY='xxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxx'

Run the app in the terminal:

npm run start