Ionic data storage

I need to have a database to store all the files for my project (images and documents) and I also want to have a chat in my app.

I was thinking to use Microsoft Azure but I’m not sure if I can get the chat option with that.
Do you guys think this is possible or do I need to use something like Firebase as well?

Anything will help. Thank you very much.