@corejam/notify

This package provides Email, SMS & Push notifications to your Corejam applications

Usage no npm install needed!

<script type="module">
  import corejamNotify from 'https://cdn.skypack.dev/@corejam/notify';
</script>

README

@corejam/notify

This package can be used to provide notification (mail, sms, push) functionality through the corejam servers context object.

For example in your resolver:

Mutation: {
    myMutation: async (_obj: any, args: any, { notify }: MergedServerContext) => {
        await notify.sendMail({to: "mail@mail.com"})

        notify.sendSMS() //Coming soon
        notify.pushNotification() //Coming soon
}

Mail

Please view the .env.sample for the correct env variables required for mail setup.

Currently we support the following mail transports:

AMAZON SES

Getting Started