How to Implement Comments/Like Notifications

Asked 2 years ago, Updated 2 years ago, 114 views

Like the attached image, please leave a comment or like such as

What can I do if I want to create a notification feature?

Here are some of the things that need to be implemented:

web node.js javascript database mongodb

2022-09-21 21:18

1 Answers

What you're asking is notifications, which you'll eventually save to DB.

With that implementation, this alert becomes a list of alerts that require users to refresh themselves. If you want to inform the user of the notification INSERT incident without the user's refresh, it is a different topic called event broadcasting, so please refer to Jung Young-hoon's comment roughly.

There is no table in mongodb, but please understand by filtering it moderately.


2022-09-21 21:18

If you have any answers or tips


© 2024 OneMinuteCode. All rights reserved.