47 The quiz application: Part 1

In this capstone, you will

  • Read and write the quiz data from a PostgreSQL database asynchronously
  • Define SQL queries to create, retrieve, update, and delete records
  • Chain multiple asynchronous computations to safely store a question and its answers

In this capstone, you’ll define an application’s data access layer to create and answer quizzes. You’ll implement its business logic and HTTP API at the end of the next unit. Your quiz application has the following requirements:

  • It should read and write categories and a set of questions and answers assigned to them.

  • Its users should pick a category, answer randomly selected questions about it, and receive a final score based on their performance.

Your application ...

Get Get Programming with Scala now with the O’Reilly learning platform.

O’Reilly members experience books, live events, courses curated by job role, and more from O’Reilly and nearly 200 top publishers.