/chat-app

Primary LanguageJavaScript

Simple Chat App with Timer

Simple Chat Application using express.js. The following are the chat features/functionalities:

Required Modules:

  1. body-parser

  2. ejs

  3. mongodb

  4. mongoose

  5. socket.io

  6. nodemon

  7. express.js

Users are greeted with the following page, where they can login:

There is an issue with the AJAX function in the button however, rendering it non-functional for now

Please use the following URL to move to the second chat signin page: /index

chat-app-has9 c9users io

The second page presents itself as a form with username and session name:

chat-app-has9 c9users io_index

Note: The session button does not work; a separate database collection is required to maintain the collections, and chat history

Start the chat by clicking on the timer, which will produce the 'Send Message' button. After that, a user can initiate a conversation

chat-app-has9 c9users io_index 1

The chat can continue for the duration of the specified time, after which no more messages will be allowed

chat-app-has9 c9users io_index 2