Learn how to implement in-app notifications in a NestJS app using Firebase and MySQL. Set up Firebase Cloud Messaging, create a MySQL database, and send push notifications based on the database information.

14m read timeFrom blog.logrocket.com
Post cover image
Table of contents
See how LogRocket's AI-powered error tracking worksPrerequisitesSetting up Firebase Cloud MessagingCreate NestJS user and notification resourcesSetting up MySQLUser resourcesCreate User entityNotification resourcesCreate notifications and NotificationToken entityOver 200k developers use LogRocket to create better digital experiencesFCM notification token use case on the serverUtilizing push notifications with usersConfiguring user servicesConfiguring user controllersTesting controller endpointsConclusionGet set up with LogRocket's modern error tracking in minutes:

Sort: