Skip to content

A Nestjs application, which has Queue implementation using Kafka, Websockets, MySQL, TypeORM and Reactjs on frontend.

Notifications You must be signed in to change notification settings

yashahmad/fena-email-processor

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

5 Commits
 
 
 
 
 
 
 
 
 
 
 
 

Repository files navigation

fena-email-processor

A Nestjs application, which has Queue implementation using Kafka, Websockets, MySQL, TypeORM and Reactjs on frontend.

Architecture Diagram

FenaTask

Description

  1. Create a simple input box with number (e.g. 100000) of emails to send and send button in frontend, which calls the backend to trigger the process
  2. The request handler should respond with some sort of job id / email sending id right away
  3. The request handler adds the job in the Kafka queue (or other)
  4. Which eventually is picked up by workers to send emails. Note it doesn't need to send the actual email, just write a worker and comment out the last send part
  5. Update the user browser with the status of how many emails are sent in near realtime
  6. User can close the browser and come back and should be able to see the status of a job

Getting Started

Make sure you have docker-compose and docker, preinstalled.

git clone https://github.com/yashahmad/fena-email-processor.git
cd fena-email-processor
docker-compose up --build

About

A Nestjs application, which has Queue implementation using Kafka, Websockets, MySQL, TypeORM and Reactjs on frontend.

Resources

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published