Make sure that you have node (LTS) and npm installed
- Open two tabs in you terminal
- Inside the first we will run server. To achieve this follow the next steps:
cd serverfrom the root of projectnpm ito install all dependenciesnpm run startto start the server
You don't need to do anything with server which has been provided only as an environment for the task.
- Inside the second terminal tab or window we will run our client.
cd clientfrom the project's rootnpm ito install all dependenciesnpm run startto start the client
- Open 2 tabs or windows in you browser (by default you should use
localhost:3000) - Enter random username and click
Enter chatroomin both.
Following those steps should lead to established websocket connection which let you to send messages between connected clients.
You found a scroll with a quest from Timezynk. It looks like some userstory.
AS a user
I WOULD like to be able to use emoji in messages
IN ORDER to convey my meaning and feelings better
Support both picker and slack-like emoji codes for a good experience on both mobile and web.
Now to finish your adventure you have to complete this task.
You may use any libraries as well as change anything you want in provided sandbox.
We are looking forward to hearing from you and discuss your solution together.