Giter Club home page Giter Club logo

chatter's Introduction

Chatter

What

A chatroom which you can chat publicly, you can view who is online, you can set up a room with your room code and anyone can join, there is an endpoint to clear the database (typed in to the username box) The chat can distinguish if you were the one who sent the message, you can also chat privately

How

Individually:

  • I will set up the html and css

  • In what form the data will be sent to the server

  • How & when the data will be stored in the database

  • How & when the data will be retrieved

  • How socket will deal with the data

Database data to deal with: username, password, messages, time, room(assigned random number or 0 for public);

Learn to deal with socket on disconnect, socket connect, socket on message sent, message received

Steps (Do separately, no linking):

  1. HTML and CSS layout and onClick events, spacing and formatting, but no object, string manipulation or testing This will be good for conceptualizing what will be going on - keep it basic

  2. Set up the necessary onclick events to create usable/sendable strings, these functions will be tested with jasmine

  3. Set up an xhr in script.js which will send data to the server

  4. Work out & decide the best way to handle this data looking at the layouts of rug1, sofer's layout, etc

  5. Set up a socket.js file and decide when this will be used

  6. Play with redis in command line and make sure that I can set and get all needed data

  7. Set up a redis.js file and test (mocking) to see if things are being added to the database in the intended way

  8. Send data back to server from redis

chatter's People

Contributors

samhstn avatar shouston3 avatar

Watchers

 avatar

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.