Skip to content

Latest commit

 

History

History
53 lines (34 loc) · 1.37 KB

File metadata and controls

53 lines (34 loc) · 1.37 KB

Socket.io Client for @erenkurnaz/websocket-example


Description

Nothing fancy here... This repository was created in one go as the interface for the example mentioned in the title. For that reason;

  • May contain bugs,
  • Best practice may not be followed,
  • UI can be ugly

Installation

Please make sure you installed @erenkurnaz/websocket-example first.

# install dependencies
$ yarn

# run the app!
$ yarn dev

Notes

When you run the API, the following user accounts will be available.

User Email Password(decoded) Name Surname Friends
#1 obi@mail.com 123456 Obivan Kenobi #2 - #3
#2 han@mail.com 123456 Han Solo #1
#3 anakin@mail.com 123456 Anakin Skywalker #1

Screenshots

Screenshot 1 Messages are forwarded to friends only.


Screenshot 2 Connection notifications are sent to friends.


Screenshot 3 You can also send a message while the friend is offline.


Screenshot 4 Offline messages are received when the user is online.