Skip to content

Latest commit

 

History

1 Commit

Folders and files

NameName
Last commit message
Last commit date
 
 
 
 
 
 
 
 
 
 
 
 

Repository files navigation

The project contains 2 micro-services and 1 rabbitmq image

  1. mainServer which exposes the /user/transact rest-endpoint to which you hit a get request. It randomly generates a boolean and based on the value calls another microservice to send an automated Email.
  2. sendEmail service sends an automated email to defined email about a fraud user trying to perform a transaction.
  3. the mainserver appplication on a failed transact puts a message on rabbitmq queue "sendEmail", which has a listner connected to it in the sendemail micro-service which then sends an email to vrajsolanki11@gmail.com in order to inform the user about fraud.

Steps to Build:

  1. Docker (Assuming you have docker set up and default machine running.)
    a. in cmd line navigate to sensibull folder and execute docker-compose -f ./docker-compose.yml build
    b. execute docker-compose up c. goto browser: http://192.168.99.100:3000/user/transact to send a transaction.
    d. goto browser http://192.168.99.100:15672 to see the rabbitmq console.

About

No description, website, or topics provided.

Resources

Stars

0 stars

Watchers

0 watching

Forks

Releases

Packages

Contributors

Languages