Chat Application To run the Server side code you need to follow the below steps
- Goto Server folder
- Open command prompt
- Type: npm install
- Type: npm run compile
- Type: npm start
To run the client code you need to follow the below steps
- Goto Client folder
- Open command prompt
- Type: npm install
- Type: npm start
- Default browser will be opened (http://localhost:8000), it will ask for username, provide the username, it will open you to the message window. There you can type the messages.
- Open another browser and type http://localhost:8000 provide the username, after the message window opens you can type messages
- Now you can see the messages from Users1 and Users2
- In the Server log you can see the activities.