...
- The user clicks the "Generate questions" button
- An action is dispatched to generate questions; the id of the deck is passed on as the payload
- The action then calls the questions service; a POST GET request is made to the questions service
- The questions service calls the deck service and gets all the slides of the deck using the id
- The question service then calls the nlp service, using the html to text endpoint for getting text of each slide
- All the text is combined and questions are generated for it collectively
- The list of questions is stored in a database
- The list is also sent back to the SlideWiki system