sindric-lib-email-notifier
TypeScript icon, indicating that this package has built-in type declarations

2.2.7 • Public • Published

About

This is a library to read a configured topic(s), get email templates form S3 bucket and send emails to customers.

Build Instructions

    Get the sindric-lib-email-notifier project from Git CodeCommit

    cd sindric-lib-email-notifier

    npm install

    tsc -p . 

    npm login (if required...)
    
    npm publish 

Usage

  1. get the email-notifier project from Git CodeCommit

     cd email-notifier
    
     npm install
     
     npm i sindric-lib-email-notifier
    
  2. Verify index.ts file to have one of the following code snippet but not both.

     a) For Pre-Registration
    
     import { preRegistrationEmailNotifier } from "sindric-lib-email-notifier";
     preRegistrationEmailNotifier();
    
     b) Otherwise
    
     import { emailNotifier } from "sindric-lib-email-notifier";
     emailNotifier();     
    
  3. Run it using the PM2 process. (startup.sh, ecosystem.config.cjs ...etc)

     run command: ./startup.sh <environement> <platform> <sub-platform>
     
              ex, ./startup.sh development mercury kansas
    

Readme

Keywords

none

Package Sidebar

Install

npm i sindric-lib-email-notifier

Weekly Downloads

79

Version

2.2.7

License

ISC

Unpacked Size

82.6 kB

Total Files

48

Last publish

Collaborators

  • sindricui