In this capstone, you’ll complete the quiz application you started in unit 7 by defining its service and API layers. In particular, you’ll implement a server that offers its users an HTTP API to perform the following operations:
- Inform about the status of your application.
- Display a list of categories a user can choose.
- Generate a quiz by randomly choosing 10 questions for a given category.
- Calculate the quiz score based on the received answers.
In your application, you’ll focus on processing existing data rather than creating new data. Your database will contain preloaded data. However, you can easily add endpoints to allow users to add new categories, questions, and answers following the same patterns if you wish to do so.