This project is a simple email queue service written in TypeScript using NestJS, SQLite, and RabbitMQ.
These instructions will get you a copy of the project up and running on your local machine for development and testing purposes.
- Node.js
- NestJS
- SQLite
- Type ORM
- Node Mailer
- RabbitMQ
- Clone the repository
git clone https://github.com/faiaz000/simple-email-queue.git
- Navigate into the cloned repository
cd simple-email-queue
- Install the dependencies
npm install
- Start the RabbitMQ server (you may need to adjust this command based on your RabbitMQ installation)
rabbitmq-server
- Run the service
npm start
- RabbitMQ needs to be installed and running on your machine. You can download it from here.
- You need to create a
.env
file in the root directory of the project with the following variables:
SMTP_HOST = XXXX
SMTP_PORT = XXXX
SMTP_USER = XXXX
SMTP_PASSWORD = XXXX
FROM_EMAIL = XXXX
Replace XXXX
with your actual SMTP server details and email.