GitHub repository: scottherold/Node-Socket-Chatmon
Primary language: JavaScript
Description: A simple web application built using JavaScript (Node.js, Express, Socket.io, EJS). The application prompts a user for a name when they first enter the browser. The server takes the name and applies a pseudo session id, the announces the user joining to all connected users. The user can send a message by inputting the message and clicking the submit button, which performs an AJAX call to the Node server, and updates the chat log. The chat log is dynamically displayed to all connected users. When a user exits the window, the browser emits an update to the server, which broadcasts the user left the chat room.