/socket.io-app

socket.io based realtime app

Primary LanguageJavaScriptMIT LicenseMIT

socket.io-app

socket.io-based realtime app

Features

  • HTTP Monitor API, monitor nodes, nsp, users stats
  • gRPC Manage API, support server manage self-defined evt. !!!!only support sigle node yet.
  • based socket.io, it's stable
  • node.js event driven

Examples

GOTO VIEW

TODOs

  • create examples.
  • import unittest frame mocha and write.
  • plugin session manager.
  • fill gRPC server functions.
  • support nsp config with Database.
  • fill http monitor handlers with class logic/Monitor.
  • slim client lib output, resolving lib dependecy relationship, event into one file.
  • import and use redis-adapter.
  • RPC support multi-node, plan is: based on redis PUB/SUB and middleware pattern.
  • synchronize nspConfig changes.
  • RPC API docs.
  • HTTP not finished yet.

Dependencies

  • redis for session manage
  • mongodb from namespace configs ...
  • nsq or other MQ, not yet

Documents

Part Link
Architecture docs/arch
Proto Defination docs/proto
SocketIO Event docs/socketio
API docs/api