DEV Community


Discussion on: Creating a realtime chat app with android , NodeJs and

utkarshpro profile image
Utkarsh Srivastava

You can store messages in a database like redis and mark them unread and then serve them when the user logs back in. This is the approach I am using right now, let me know if something is wrong with this approach.