Code Monkey home page Code Monkey logo

knock-knock's Introduction

Knock-Knock Messenger

A one-to-one realtime chat app.

Running Application in Local

psql

CREATE DATABASE knock-knock;

\q

cd server
npm install

// seed the database
npm run seed
npm run serve

Running Application in Docker

Build Docker image

docker image build -t <tag> knock-knock .

Deploy Docker image

docker run --name knock-knock -d -p 3000:3000 knock-knock:1.0.0

Demo

https://knock-knock-messenger.herokuapp.com

knock-knock's People

Contributors

handsomecoder avatar

Watchers

James Cloos avatar  avatar

knock-knock's Issues

4) Optional goody: Small improvement of your choice

For a small amount of bonus points, you can implement a small front end or back end improvement to our code base, such as increasing our test coverage or modernizing some of the front end code (converting class components to functional components, converting some components to Typescript, etc.). Note that this is optional and should be of a small scope

1) Bug fix: Sending messages

There are some bugs in our starting code that we would like you to investigate and resolve. First, when you send a new message, it does not immediately appear on the screen. We would like new messages to be immediately added to the chat UI for both existing conversations and new conversations. (Note: This may require more than one change)
Additionally, messages are not displayed in the correct order on page load. Messages should be displayed in order with the oldest messages at the top and newest messages at the bottom.

3) Feature - Improve sockets

We currently have sockets implemented, but would like to improve how we do so. We know our sockets are not efficient, and that they have poor security. Please address these issues, as well as make any other improvements as you see fit.

2) Feature - Implement a read status for messages

We want to track for each message if it has been read by the recipient, and to make several front end UI updates with this information, such as displaying how many unread messages there are in a given conversation.
You can reference the spec in this zip folder for the various updates to be made to reflect unread messages. (Note that the zip folder includes more than just the spec needed for this feature). Please include a screenshot in your PR description showing your updated UI.

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.