15- First Microservice Project

 

First Microservice Project


Create a microservice project in which there are two microservices (Department and User).

In user microservice every individual user has a unique department assigned to him/her.

We will be using departmentId(unique to every data assigned in SQL table) to connect the user with the respective assigned department

-->   Department  exists alone  but   User microservice requires Department microservice

department microservice has  (departmentId, departmentName , departmentAddress and  departmentCode)

user microservice has  (user Id , firstName , lastName , email and  departmentId)


The names of two services we are creating are:

--> department-service-A

-->  user-service-A



The approach and things we will learn in this project are:

--> How to connect microservices?
--> Rest Template
--> Possible Changes to make coding easier and trackable.
--> Dependencies used in both projects


Comments

Popular posts from this blog

INDEX OF JAVA 8 and MICROSERVICES BLOG