Socket.io Client for @erenkurnaz/websocket-example
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
Please make sure you installed @erenkurnaz/websocket-example first.
# install dependencies
$ yarn
# run the app!
$ yarn devWhen you run the API, the following user accounts will be available.
| User | Password(decoded) | Name | Surname | Friends | |
|---|---|---|---|---|---|
| #1 | [email protected] | 123456 | Obivan | Kenobi | #2 - #3 |
| #2 | [email protected] | 123456 | Han | Solo | #1 |
| #3 | [email protected] | 123456 | Anakin | Skywalker | #1 |
Messages are forwarded to friends only.
Connection notifications are sent to friends.
You can also send a message while the friend is offline.
