Coder Social home page Coder Social logo

rehasan / boot-camp-event-driven Goto Github PK

View Code? Open in Web Editor NEW
0.0 2.0 0.0 396 KB

Event Driven Architecture with Spring Boot

Java 80.46% Dockerfile 3.44% HTML 1.49% CSS 1.02% JavaScript 13.59%
spring-boot spring-mongodb spring-jpa mongodb postgres react activemq spring-activemq event-driven-architecture docker

boot-camp-event-driven's Introduction

boot-camp-event-driven

Event Driven Architecture with Spring Boot

Architecture Design

  1. Frontend only communicates with Backend (BFF) - REST API
  2. Backend can then communicates with all other lower level Services using ActiveMQ - Pub/Sub
  3. All the lower level Services are - Inventory, Order (i.e Assignment) & Amazon
  4. The communication media between all the lower level Services is ActiveMQ - Pub/Sub

High Level Design

REST API

Frontend -> Backend

ActiveMQ - Pub/Sub

Backend -> <- Inventory -> <- Order -> <- Amazon

Tech Stack

  1. Frontend -> React
  2. Backend -> REST API, Spring Boot, ActiveMQ
  3. Inventory -> Spring Boot, Mongodb, ActiveMQ
  4. Order -> Spring Boot, Postgres, ActiveMQ
  5. Amazon -> Spring Boot, Mongodb, ActiveMQ

Install & Run

You can build all the child modules using parent pom.xml and then run all the application using the following commands,

mvn package
docker-compose up --build

Browse the Applications

Client Application

http://localhost:3010/

Swagger for Backend

http://localhost:8085/v1/swagger-ui/index.html?configUrl=/v1/api-docs/swagger-config#/

ActiveMQ - Pub/Sub

http://localhost:8161/

username = admin
password = admin
Reference to All the Services

List of all the services

boot-camp-event-driven's People

Contributors

rehasan avatar

Watchers

 avatar  avatar

Recommend Projects

  • React photo React

    A declarative, efficient, and flexible JavaScript library for building user interfaces.

  • Vue.js photo Vue.js

    ๐Ÿ–– Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.

  • Typescript photo Typescript

    TypeScript is a superset of JavaScript that compiles to clean JavaScript output.

  • TensorFlow photo TensorFlow

    An Open Source Machine Learning Framework for Everyone

  • Django photo Django

    The Web framework for perfectionists with deadlines.

  • D3 photo D3

    Bring data to life with SVG, Canvas and HTML. ๐Ÿ“Š๐Ÿ“ˆ๐ŸŽ‰

Recommend Topics

  • javascript

    JavaScript (JS) is a lightweight interpreted programming language with first-class functions.

  • web

    Some thing interesting about web. New door for the world.

  • server

    A server is a program made to process requests and deliver data to clients.

  • Machine learning

    Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.

  • Game

    Some thing interesting about game, make everyone happy.

Recommend Org

  • Facebook photo Facebook

    We are working to build community through open source technology. NB: members must have two-factor auth.

  • Microsoft photo Microsoft

    Open source projects and samples from Microsoft.

  • Google photo Google

    Google โค๏ธ Open Source for everyone.

  • D3 photo D3

    Data-Driven Documents codes.