GithubHelp home page GithubHelp logo

final_ca's People

Contributors

jonathanwang017 avatar mtq09 avatar yanjun07 avatar youyiwei avatar 11manu96 avatar jianglin296 avatar destin369y avatar

Watchers

 avatar  avatar  avatar  avatar

final_ca's Issues

Close session bug

can't send notification to user that left, otherwise there is a websocket crash

debug app flows

there are a lot of edge cases/bugs currently in the app. play around with the functions to see if you can find the bugs

add comments/documentation

  • how to run unit tests
  • message notification (green text)
  • no modifying rooms
  • delete room when owner leaves

Task 1 : SubTask 1.3 : Implement joining a chatroom

The view needs to call a API for joining a room. Implement JoinRoomCmd. Notify all users in front end that the user has joined the room, add user to ChatRoom user list. We also need to update the Joined and available chatrooms. The view needs to be updated with the new lists and other users in the joined chat room need to be updated of user joining.

FrontEnd -> WSC -> DA -> ChatRoom Model -> Response to view

The response to the view should return the List of users in the chat room entered/joined.

Task 1 : Subtask 1.2 : Implement creating a new Chat Room

The view needs to call a API for creating new chat room. A function to create a room is called in the DA, set restrictions. We also need to send response to front-end.

FrontEnd -> WSC -> DA -> ChatRoom Model -> Response to view

Task 1 : SubTask 1.4 : Leave a ChatRoom

The view needs to call a API for leaving a chat room. Remove user from the ChatRoom class' user list.
We also need to update the user's available and joined chatrooms too, this also needs to updated in the front end through lists. Notify users in the particular chatroom that user has left.
The reason for leaving is NOT to be specified. We will add that functionality later.

FrontEnd -> WSC -> DA -> ChatRoom Model -> Response to view

Task 1 : Subtask 1.1 : Implement User Login flow

The view needs to call a API for user login, the user/session mapping is done within the user class. DA needs to be used to add user. We also need to send response to front-end.

FrontEnd -> WSC -> DA -> User Model -> response to view

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.