License
BSD-2-Clause
Install
npm install @comet/brevo-api@2.0.0-canary-20240717115242

Documentation

comet-brevo-module

Getting started

Prerequisites

The following tools need to be installed on your local machine.

Setup workspace

Run the install.sh script to install dependencies and setup needed symlinks.

sh install.sh

It is recommended to run install.sh every time you switch to the main branch.

Define your contact attributes in the brevo module's config

The attribute naming must be identical to the naming in brevo

Set environment variables

The following variables must be set manually

  • BREVO_API_KEY
  • BREVO_DOUBLE_OPT_IN_TEMPLATE_ID
  • ECG_RTR_LIST_API_KEY
  • BREVO_SENDER_NAME
  • BREVO_SENDER_EMAIL
  • CAMPAIGN_BASIC_AUTH_USERNAME
  • CAMPAIGN_BASIC_AUTH_PASSWORD

Start development processes

dev-process-manager is used for local development.

Start Demo

pnpm run dev:demo

Demo will be available at

It is also possbile to start specific microservices

pnpm run dev:demo:api # (api|admin|site)

The docs will be available at http://localhost:3000/

Stop Processes

npx dev-pm shutdown

Uninstallation

// Removes docker volumes and all files and folder which are not managed in the repo (node_modules, lib,...)
// If you want to reset your development environment totally, run this command and ./install.sh afterwards.

./uninstall.sh