Rails API for the app to store notification data into a database for the notification worker