This looks great! For the enrollment endpoint, consider firing an application event after the transaction commits instead of calling the notification/XP logic inline — keeps the controller focused on one job.
Sophea K.
Algorithms mentor · answered 4h ago