Skip to content

mr-parus/sce-chat-server

Repository files navigation

codecov Heroku

sce-chat-server

Simple websocket-based chat.

DEMO: Client heroku deploy

DEMO: Server heroku deploy

Client repository (REACT)

Features:

  • ✅ Sessions (JWT token)
  • ✅ Sending/Receiving messages
  • ✅ Restoring old messages
  • ✅ Notifications:
    • about user disconnection
    • 'delivered/read' message status
    • about new user joining the chat
    • etc
  • ✅ No users with the same username online
  • ❌ Authentication with passwords =) it's for demo purpose

Known issues:

Security

  • ✅ Handling and tracking unexpected activity:
    • unexpected message events
    • unexpected message schemas
  • ❌ CORS restrictions (to make possible to connect from everywhere and test)
  • ❌ Rate limitation (per session, per IP, etc)
  • ❌ Payload size restrictions
  • ❌ Authentication before WS connection is established (X-Auth-Token)

...

  • ❌ SSL

Socket API

Supported Events

About

Simple websocket-based chat

Topics

Resources

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published