https://github.com/rtasalem/youve-got-mail
Backend microservice for sending email notifications via Nodemailer & RabbitMQ with all message event data stored in MongoDB.
https://github.com/rtasalem/youve-got-mail
backend graphql mongodb nodemailer notifications rabbitmq
Last synced: about 2 months ago
JSON representation
Backend microservice for sending email notifications via Nodemailer & RabbitMQ with all message event data stored in MongoDB.
- Host: GitHub
- URL: https://github.com/rtasalem/youve-got-mail
- Owner: rtasalem
- Created: 2025-02-11T20:50:40.000Z (over 1 year ago)
- Default Branch: main
- Last Pushed: 2025-03-20T23:59:28.000Z (over 1 year ago)
- Last Synced: 2025-05-16T08:09:35.637Z (about 1 year ago)
- Topics: backend, graphql, mongodb, nodemailer, notifications, rabbitmq
- Language: JavaScript
- Homepage:
- Size: 68.4 KB
- Stars: 0
- Watchers: 1
- Forks: 0
- Open Issues: 1
-
Metadata Files:
- Readme: README.md
Awesome Lists containing this project
README
# You've Got Mail!
Backend microservice for sending email notifications via RabbitMQ with all message event data stored in MongoDB.
## Prerequisites
- Node.js v23+
- Docker Compose
## Getting Started
Install dependencies:
```
npm install
```
Build Docker services:
```
docker compose build
```
Start up Docker containers:
```
docker compose up build -d
```
## Using RabbitMQ Management
After starting up the Docker containers, the RabbitMQ Management UI can be accessed via [http://localhost:15672/#/](http://localhost:15672/#/). Navigate to the [queues](http://localhost:15672/#/queues) tab, select the `emails` queue and open the `Publish message` dropdown. From here any messages can be published to the queue. Refer to the Docker container logs for confirmation that the message was received.