Coder Social home page Coder Social logo

cli_chat's Introduction

CLI Chat

Build Status Coverage Status

Introduction

This project is the culmination of work done by Joy Tan, Grant Savage, Joshua Van Deren, and Yen-Hung Lai for the Spring 2018 classes of SE420 Software Quality Assurance and SE310 Software Analysis and Design at Embry-Riddle Aeronautical University. This project is an interactive command line chat. It uses the web socket protocol to send and receive messages from multiple users. Our client application and server implementation will allow clients to send private messages to each other and join rooms to group chat with other users. Our system will also allow users to block other users. This project is currently in development and bugs will be present.

Quick Start Installation

To install the required dependencies for both client and server run the install.sh shell script by running ./install.sh. You may need to change permissions on the file to run it. To do this run chmod 755 install.sh.

Running the System

In order to run the system and interact with it, a total of 3 terminal sessions (tabs) are needed. 1 to run the server and 1 to 2 run the clients. Instructions on how to run on both the client and server are included in the README files under both the client and server directories under the src directory.

Running Tests

To run the tests, cd into the root directory and run npm test.

cli_chat's People

Contributors

christalynjoy avatar grantsavage avatar jvanderen1 avatar yenhunglai avatar

Stargazers

 avatar  avatar

Watchers

 avatar  avatar  avatar

cli_chat's Issues

Bug: room list not updating

Code modularization of client code (separated one big file into multiple smaller files) resulted in rooms not being saved. The array storing the list of existing rooms is not updating and always reports an empty list.

Logical error: group messaging

Group message sends to users who used to be in room but are not currently in room (they left the room but still receive group messages from room)

Logical error: rooms

Created rooms do not appear to those who connect to the server after rooms have been made

Bug: User list is not updating

The array of current users is not updating and when choosing the menu option to list the users, it constantly says "No other users online." no matter how many users are connected to the server.

Recommend Projects

  • React photo React

    A declarative, efficient, and flexible JavaScript library for building user interfaces.

  • Vue.js photo Vue.js

    ๐Ÿ–– Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.

  • Typescript photo Typescript

    TypeScript is a superset of JavaScript that compiles to clean JavaScript output.

  • TensorFlow photo TensorFlow

    An Open Source Machine Learning Framework for Everyone

  • Django photo Django

    The Web framework for perfectionists with deadlines.

  • D3 photo D3

    Bring data to life with SVG, Canvas and HTML. ๐Ÿ“Š๐Ÿ“ˆ๐ŸŽ‰

Recommend Topics

  • javascript

    JavaScript (JS) is a lightweight interpreted programming language with first-class functions.

  • web

    Some thing interesting about web. New door for the world.

  • server

    A server is a program made to process requests and deliver data to clients.

  • Machine learning

    Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.

  • Game

    Some thing interesting about game, make everyone happy.

Recommend Org

  • Facebook photo Facebook

    We are working to build community through open source technology. NB: members must have two-factor auth.

  • Microsoft photo Microsoft

    Open source projects and samples from Microsoft.

  • Google photo Google

    Google โค๏ธ Open Source for everyone.

  • D3 photo D3

    Data-Driven Documents codes.