/chatty-client

Chatty is a world renowned (not really) chat module that allows multi-clients and multi-rooms into existence. Stress tested with ~10K clients connected. Currently schemed for blockchain & cryptocurrency rooms and discussions This is the client for chatty. This client would require the backend in order to work correctly.

Primary LanguageJavaScript

Websockets => React Hooks!

alt text

This app will implement the 16.8 shift to 'hooks', as much as possible.

  • this has a complementary server project that acts as the ws endpoint.
  • useEffect() is a powerful tool, I recommend to read this article that goes into descriptive depth (gifs!) to explain how it works.
  • implementations still needed for production:
    • Security:
      • password/membership
      • 2FA ACL for endpoints
      • serverside .env with key (salt)
    • Logic
      • Hash userID for high traffic uniqueness
      • 2DBs needed: NoSQL DB needed for chat + SQL for user/admin mgmt.
    • Code
      • wrap up as a npm @package