CS 347: Lab 17 – Express Chat
Welcome to lab. By now you have already watched the lecture videos on your own. Now we will apply the ideas from those videos in an exercise, which you will complete in small groups.
Within your breakout room, designate one of your team to be the screen sharer. Screen sharer, share your screen and claim your group’s task on Crowdsource. Make sure to enter every group member’s JMU eID so that they receive credit. Your group will be assigned a task number.
Team, complete the assigned task below. Screen sharer, be careful not to dominate. All members should contribute ideas.
Your task is to write a bare-bones chat application. It will consist of two parts: an Express-based web service that manages an array of messages, and an HTML/CSS/JS client that sends and receives messages through the service.
Screen sharer, follow these steps:
- Open Visual Studio Code.
- Click File / Open Folder, create a new folder, and open it.
- With the Live Share extension installed, select View / Command Palette, and choose Live Share: Start Collaborative Session.
- Copy the invitation link to your chat.
All team members should join the session.
Follow these steps to create your chat server with Express and Node.js:
Screen sharer, when your group is done or when time is up, submit your group’s solution on Crowdsource. Paste in both the server and the client.