WebSocket-based chatroom application with Node.js + Express.js backend
Before you can run this program, ensure that you have the following software installed and functional:
- Node.js v10.19.0 or newer
- All necessary Node package dependencies as listed in package-lock.json. (note: you can install all dependencies by running the command
npm install
.
- Download the source code from this repository.
- In the project root, run the command
npm start
to start the server. - Open a browser, type 'localhost:3000' into the url bar, and press enter.
- Set the username for the new client by clicking 'Choose a nickname' in the top-right corner of the page. Then press the connect button at the bottom of the page to connect to the websocket server and be placed in a room.
- To talk with another instance of the client, repeat steps 3-4 in a new tab, window, or browser.
- Ethan Genser - Creator