How to create a user based chat app

I am building a job posting app and on apply, I want to send a message to a user that posted the job. O am using mongo db and express. Can I please have some guidance as to how to apply this with ionic.