Socket.IO Test Client - Child Care Forward

Status: Disconnected
Server Health
Unknown
Connected Users
0

Connection

Room Management

Send Message to Room

User Messaging

Message Log

📋 Backend Testing Instructions

🔗 Socket Server Running on Port: 3001

Client URL: http://localhost:3001

Health Check: http://localhost:3001/health

🚀 How to test with your Backend Library:

  1. Connect a user: Enter a User ID (e.g., "user123") and click Connect
  2. Send message from your backend to the RabbitMQ queue with this format:
Queue: socket-messages-queue
Message:
{
  "userId": "user123",
  "event": "message",
  "data": {
    "text": "Hello from NestJS backend!",
    "type": "chat",
    "senderId": "backend-system"
  },
  "timestamp": "2023-09-26T10:30:00.000Z"
}
Queue: socket-notification-queue
Message:
{
  "userId": "user123", 
  "type": "appointment_reminder",
  "data": {
    "title": "Upcoming Appointment",
    "message": "Your child has an appointment tomorrow"
  },
  "timestamp": "2023-09-26T10:30:00.000Z"
}

You'll see the messages appear in the Message Log above when your backend sends them!