Architecture of the microservice for code checkout main branch A small demo is attached
ezyZip.mp4
There are two db here one is questiondb and quizdb. questiondb contains all the questions along with the all the details. and quizdb is only accessing the questiondb with id for three methonds getscore,generate quiz and get question. here also question service is running.

for db setup pgadmin4 is being used with two db as shown below

Need to insert the data into the table with the following example
INSERT INTO Question (id, category, difficultyLevel, option1, option2, option3, option4, question_title, right_answer) VALUES (1, 'Java', 'Easy', '8 bits', '16 bits', '32 bits', '64 bits', 'What is the size of int in Java?', '32 bits');
and
quiz db has ids as

Euraka server(running on port 8761) is being used for discovery and register to service registery so that each microservice is aware of the other and can check there
instances of eureka server which are up

quiz to question calling b/w microservice --> here the quiz service(running of port 8090) is asking to question serive the question and this is being done by openfeign

load balancing two instances of same microservice --> two instance of question serivce is running on port 8080 and 8081 and load balancing is being done by spring cloud.


