Giter Club home page Giter Club logo

chat-app's Introduction

Description:

Chat application for private messaging of text type built on React and Flask-SQLAlchemy Python.

GitHub Workflow Status (with event)

GitHub Workflow Status (with event)

User stories:

  • As a user, I'm able to register and/or login
  • As a user, I can search through users of the app, see their profiles, and add a user as a contact
  • As a user, I can send, read, update, and delete messages between me and users in a conversation
  • As a user, I can update my user profile.

Wireframe:

image

React tree:

Trees

Client-side routes:

New_routes

Entity Relationship Diagram:

ERD2

API Routes:

Name API endpoint COLOR HTTP verb Purpose
RETRIEVE /users ๐ŸŸฉ GET [{...}, {...}, ...]
CREATE /users ๐ŸŸง POST {'id', 'username','password', 'avatar'}
RETRIEVE /users/:id ๐ŸŸฉ GET {'id', 'username', 'password', 'avatar'}
DELETE /users/:id ๐ŸŸฅ DELETE {}
UPDATE /users/:id ๐ŸŸฆ PATCH {'id', 'username', 'password', 'avatar'}
RETRIEVE /messages ๐ŸŸฉ GET [{...}, {...}, ...]
CREATE /messages ๐ŸŸง POST {'id','content_data', 'content_type', 'conversation_id', 'sender_id', 'created_at'}
RETRIEVE /messages/:id ๐ŸŸฉ GET {'id', 'content_data', 'content_type', 'conversation_id', 'sender_id', 'created_at'}
UPDATE /messages/:id ๐ŸŸฆ PATCH {'id','content_data', 'content_type', 'conversation_id', 'sender_id', 'created_at'}
DELETE /messages/:id ๐ŸŸฅ DELETE {}
RETRIEVE /user_conversations ๐ŸŸฉ GET [{...},{...},...]
CREATE /user_conversations/:id ๐ŸŸง POST {'id','conversation_id', 'user_id'}
RETRIEVE /user_conversations/:id ๐ŸŸฉ GET {'id', 'conversation_id', 'user_id'}
UPDATE /user_conversations/:id ๐ŸŸฆ PATCH {'id','conversation_id', 'user_id'}
DELETE /user_conversations/:id ๐ŸŸฅ DELETE {}
RETRIEVE /conversations ๐ŸŸฉ GET [{...},{...},...]
CREATE /conversations ๐ŸŸง POST {'id', 'conversation_name'}
PATCH /conversations/:id ๐ŸŸฆ PATCH {'id', 'conversation_name'}
DELETE /conversations/:id ๐ŸŸฅ DELETE {}
RETRIEVE /conversations/:id ๐ŸŸฉ GET {'id', 'conversation_name'}

Stretch Goals:

  • Extend message types to media and document types -Encryption of messages -Read Receipts -Message reactions

Board:

Alt text

Frontend Icons:

  1. login_locked icon showing a locked padlock implying you are currently logged out:

login_locked icon showing a locked padlock implying you are currently logged out.

  1. login_unlocked icon showing an open padlock implying you are currently logged in:

login_unlocked icon showing an open padlock implying you are currently logged in

  1. edit icon implying you are about to edit a message or information:

Edit icon implying you are about to edit a message or information

  1. inviteToChat icon implying you are inviting the contact to chat:

inviteToChat icon implying you are inviting the contact to chat

  1. chat icon implying that you are going to a chat-room to compose a message to the contact:

chat icon implying that you are going to a chat-room to compose a message to the contact.

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.