generate your quiz (using microservices architecture) it doesnt support all requirements for microservices
java 17
maven as a build tool
spring boot as my framework (3.1.1 v)
spring data JPA
MySQL as my database
1:π» get all questions with the right answers (but user will request to quiz-service so this method is not allowed but you, as a developer can do this)
2:π» get questions by category (allowed only for developers not the client)
3:π» add a question (for developers)
4:π» get questions by difficulty level(for dev)
5:π» update a question by id (allowed for developers)
6:π» user can create a quiz (with category, a title and also number of questions)
7:π» user can create quiz by difficulty level (level, a title, num of questions)
8:π» get quiz by its id (we only return the questions with options)
9:π» get quiz by its name (we only return the questions with options)
10:π» at the end user will submit his answers and we return his score