Skip to content

Interface to be used locally for managing broadcasts and subscriptions

Notifications You must be signed in to change notification settings

LaSav/postmark-interface

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

6 Commits
 
 
 
 
 
 
 
 
 
 
 
 

Repository files navigation

A Local Interface to Manage Your Subscriptions and Send Emails with Postmark and Node.js

This is a REST API built to be used locally on your machine to manage subscribers from your mailing list (MongoDB Collection) and send Broadcast Emails using the Postmark API.

Features

  • Retrieve Subscribers Collection from MongoDB.
  • Send Preview Email to one Address. Could be your own, or postmark's test address.
  • Send Broadcast Email to all Subscribers of MongoDB Collection.
  • Switch between MongoDB Collections.

Status: In Progress ⏳

Built with

  • Vanilla JavaScript
  • HTML
  • Bootstrap
  • Axios
  • Express
  • Mongoose
  • MongoDB
  • Node.js
  • Postmark

Usage

Install Dependencies and Run

git clone https://github.com/LaSav/postmark-interface
npm install
npm run server

Env Variables

Create a .env file in the root directory and add the variables:

NODE_ENV = development
PORT = 3000
MONGO_URI = Your MongoDB URI
POSTMARK_KEY = Your Postmark API key

Checklist:

Backend

  • GET Subscribers 👌
  • POST Broadcast 👌
  • GET Broadcasts 👌

Frontend

  • GET Subscribers 👌
  • POST Broadcast 👌
  • GET Broadcasts 👌
  • Errors 👌
  • Send Preview 👌
  • Input Template Number Validation
  • Select between MongoDB Collections

Additional Resources

Postmark Developer Guide

Need to Store Subscribers and Send Transactional Emails? Check out:

REST API to Send Transactional Emails With Postmark and Node.js

About

Interface to be used locally for managing broadcasts and subscriptions

Resources

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published