Challenge: Implementing Library Analytics
Explore how to implement library analytics in a Spring Data Cassandra application. Learn to create and manage a BookAnalytics model with tracking features for borrowed, viewed, and rated counts. Understand repository design and methods to update and log analytics data effectively.
We'll cover the following...
We'll cover the following...
Implement library analytics
Extend the existing library management system to include some analytics. We should let the system record the number of books borrowed, viewed, and rated.
Tasks
In this challenge, complete the following tasks:
-
Create the
BookAnalyticsclass in thecom.smartdiscover.modelpackage to store ...