Skip to content

Neimat1/reactive-company

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

39 Commits
 
 
 
 
 
 
 
 
 
 
 
 

Repository files navigation

reactive-company

This project is consisting of 2 microservices:

  1. service-one:

    Microservice, that does:

    • Get All Employees - GET
    • Add new Employee - POST
    • Update Employee's position - PUT
    • Remove Employee - DELETE

    UML Diagram:

    classDiagram
        class Employee {
             - name: string
             - position: string
             - department: Department
             - id: Long
        }
         
         
         class Department {
            - departmentName: string
            - id: Long
         }
         
         Department "1" --> "*" Employee
    
    Loading
  2. service-two:

    Microservice, that consumes service-one:

    • Get All Employees - GET
    • Add new Employee - POST
    • Update Employee's position - PUT
    • Remove Employee - DELETE

To Run the project

  • Run Docker Engine
  • clone the repo
  • Once you are in the project repo
  • Open the terminal then write the commands
    • cd .\rest-client\
    • ./mvnw compile quarkus:dev
    • Open another terminal page to run service-one
      • cd .\company\
      • ./mvnw compile quarkus:dev
  • Now you have
    • Rest-Client (Service-two) running on 8090
    • Company (Service-one) running on 8080

NOTE

  • you can use postman collection / http requests in each repo
  • There's a Readme file for each service

NOTE: Service-one

NOTE: Service-Two

Versions:

  • java-11
  • Apache Maven 3.9.3
  • Postgresql
  • Docker Engine - Mandatory
  • Quarkus 3.2.12.FINAL

About

No description or website provided.

Topics

Resources

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published

Languages