Skip to content

ubednama/Flight-Notification-Service

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

7 Commits
 
 
 
 
 
 
 
 
 
 
 
 

Repository files navigation

Flight Notification Service

The Flight Notification Service is designed to automatically send email notifications regarding flight updates. It leverages RabbitMQ for message queuing and Nodemailer for sending emails. This ensures that the system is robust, scalable, and efficient in handling email notifications.

Tech Used

  • Node.js
  • RabbitMQ
  • Nodemailer

Installation

Setup .env file and run the project with other microservices

Usage

Ensure RabbitMQ is running. You can start RabbitMQ using the following command:

rabbitmq-server

Example Email Message

The email message should be a JSON object with the following structure:

{
  "from": "mailFrom@example.com"
  "to": "recipient@example.com",
  "subject": "Flight Update",
  "text": "Your flight has been updated."
}

About

No description, website, or topics provided.

Resources

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published