Hey guys, i am trying to build a chat application in realtime, I already have a website with users which uses PHP/mysql (Codeigniter).
I want to enable my users to chat on an ionic app. My question here is that, should i use my own mysql server for saving chat messages or should i use another option? If any can you tell me with preferably a tutorial or guide.
I was also thinking about just sending the data to my website and everytime somebody sends a message i send the data to php,save it to db. Then the app would need to refresh in order to display messages and it wont be realtime i am guessing. But i am not sure if this would work super slow and cause delays on messages to show up.
(I have knowledge to do it with firebase but i do not want to pay so it is not an option for me)