Skip to content

jbh1996/quiz_timer_microservice

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

18 Commits
 
 
 
 
 
 
 
 

Repository files navigation

To request data from the microservice, use zmq to connect to the /localhost:5555. Make sure the socket is of the zmq.REQ type. The message should be a string separated by a single space, with the first being the number of flashcards in the deck and the second being a float of the time of the quiz's start.

Example Call of the Microservice: image

To receive data back from the microservice use the socket to receive a string back from the microservice. The return value will be a string of integers with the elapsed time in seconds, the average time per flashcard, and the time elapsed in minutes all separated by spaces.

Example Time String Format: f"{flash_cards} {start_time}"

Example Response Format: f"{elapsed_time} {average_time} {minutes}"

Example Call of Microservice WITH receiving data from the microservice: image

UML Diagram: image

About

No description, website, or topics provided.

Resources

Stars

Watchers

Forks

Releases

No releases published

Packages

 
 
 

Contributors

Languages