I'm beginner in frontend developing, I got test task from one company. They need local chat app but without backend as I see. "Chat should work without a server, within the same browser."
The question is: how is it possible? Which technologies can I use?
CodePudding user response:
You would need to be running something to handle the chat messages that go to each other. You could use Apache to run a local web server on your lan and then have a HTML or PHP files to do the exchange of chat. Assuming you're talking about a text chat. Another option would be to telnet to the other computer.
CodePudding user response:
it is not possible to build a chat app without a server.
"Chat should work without a server, within the same browser." this expression is half correct because you can make a chat app work without a Hosted server, more precisely you can run a local server that will handle your chat app and make you send messages from 2 different user ids in the same browser.
Try to look for youtube tutorials about socket.io / React js / Node js to create a simple chat app.