T
T
theWaR_132015-11-30 20:15:25
JavaScript
theWaR_13, 2015-11-30 20:15:25

Chat without server, WebRTC?

Good day. There was a task to create a chat that will support encryption and, preferably, the absence of a backend. Those. the task is to make such a chat that would not save any data at all. Google led me to WebRTC, but many of the solutions that I found there boil down to using third-party libraries. I would like to do everything by hand, but without the invention of bicycles, of course. Or maybe there are some other technologies for this? Thanks in advance.
PS WebRTC chose as an easy way to establish a P2P connection, again without a server. Should I look towards socket.io?
PPS And in general, is it possible to completely do without a server, or do I still have to use at least some kind of backend?

Answer the question

In order to leave comments, you need to log in

2 answer(s)
Y
Yaroslav Samardak, 2015-12-01
@yaroslav_samardak

If you only need a chat, then socket.io will be more convenient, the more the entire backend can be done on the same NodeJs on which you will deploy the socket, incl. if necessary, it will not be difficult to add.

H
hbruser, 2015-12-26
@hbruser

PPS And in general, is it possible to completely do without a server, or do I still have to use at least some kind of backend?

It is forbidden.
The server part is needed:
- for signaling
- to overcome NAT (need STUN server)
- to proxy traffic if necessary (need TURN)
Ie . three logical servers are necessary. Therefore, you can not do without a backend.

Didn't find what you were looking for?

Ask your question

Ask a Question

731 491 924 answers to any question