Hi,
I am new to the Phoenix, but I have some experience in Ruby so I am learning Phoenix to build my chat application.
I like to know is it possible to build the chat application like whatsapp in Phoenix, please give some tutorials or code samples to build chat with file sharing and messages.
I saw the repo which gives only messages but I need to send the files as well. please help me on this
I don’t know the broader context of what the application requirements are, but I think there is a huge chance this approach will be an overkill. If it doesn’t need federation (i.e. talking to other servers) and external chat services/clients support, you are adding huge layer of complexity (esp. on the maintenance side of things) for little advantage.
Its not just federation…I admit I’m lazy and don’t want to deal with:
authentication
presence notification
multi-user chat
store and forward (especially with mobile)
message marshaling - this is especially true on the client side. With MongooseIM there are tons of XMPP client libs to choose from.
voice and video conferencing
fail-over resilience
End of the day if OP just wants a chat app for practice purposes sure its overkill. But OP did mention like WhatsApp and starting with a XMPP server brings him so much closer to that goal.