Giter VIP home page Giter VIP logo

chatting-application's Introduction

Project Plan - Chat Application with RTK Query

Requirement Analysis

  1. user can register. afer registering, user will be automatically logged in, we will store login info to localstorage (for login persistance) and redirected to inbox page

  2. user can login and after login we will save the login information in localstorage (for login persistance) and redirect user to inbox

  3. load sidebar messages from conversation API and implement load more feature

  4. load specific conversation messages when user clicks on it and implement load more feature

  5. when user sends message, a) if conversation id is present, update conversation table and also inserts into messages table b) if conversation id is missing, get conversation id using filter _ if conversation id exists, then update that conversation and add to messages table _ if conversation id is missing, insert that conversation and add to messages table

  6. sidebar conversation list scroll - sort by latest first and when user loads more, bring previous "10 conversations sorted by latest first" and pushed into the conversations array

  7. messages list scroll - bring "10 latest messages per request sorted by oldest first". when user loads more, "bring previous 10 messages sorted again by oldest first" and unshift into the array

Required APIs

  1. register
  2. login
  3. get list of users other than requesting user
  4. update conversation
  5. insert conversation
  6. find conversation
  7. list conversation
  8. list messages by conversation id
  9. send message (insert messages into messages table)

chatting-application

chatting-application's People

Contributors

mdraihan34988 avatar

Stargazers

 avatar  avatar  avatar  avatar  avatar  avatar  avatar

Watchers

 avatar  avatar

chatting-application's Issues

No backend?

Do you have a backend for this chatting-application?

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.