🎫 Axion Support System

Complete Customer Support Solution

✓ System Online

Get Started with Support

Create an account or sign in to access support tickets, live chat, and more

🎫

Ticket Management

Create, track, and manage support tickets with priorities, categories, and assignments.

💬

Real-time Chat

Live chat support with WebSocket connections for instant communication.

📎

File Uploads

Secure file upload and download system with support for multiple file types.

📧

Email Integration

SMTP sending and POP3 monitoring for email-based ticket management.

👥

User Management

Role-based access control for customers, agents, and administrators.

Knowledge Base

Public knowledge base with searchable articles - no login required.

�📊

Analytics

Comprehensive statistics and activity logging for monitoring.

📚 API Endpoints

Authentication

POST /api/auth/register
Register a new user account
POST /api/auth/login
Authenticate and receive JWT token
GET /api/auth/me
Get current user profile

Tickets

GET /api/tickets
List all tickets with filtering and pagination
POST /api/tickets
Create a new support ticket
GET /api/tickets/:id
Get ticket details with replies and files
PUT /api/tickets/:id
Update ticket status, priority, or assignment
POST /api/tickets/:id/replies
Add a reply to a ticket

Files

POST /api/files/upload
Upload files to a ticket (multipart/form-data)
GET /api/files/download/:id
Download a file

Chat

POST /api/chat/conversations
Start a new chat conversation
GET /api/chat/conversations/:id
Get conversation messages
POST /api/chat/conversations/:id/messages
Send a message in a conversation

Knowledge Base (Public - No Auth)

GET /api/kb/search
Search knowledge base articles (public)
GET /api/kb/articles/:id
Get article details (public)
GET /api/kb/categories
List all categories (public)
POST /api/kb/articles/:id/feedback
Mark article as helpful/not helpful (public)

🔌 WebSocket Events

Connect to WebSocket with JWT authentication:

const socket = io('http://localhost:3000', {
  auth: { token: 'YOUR_JWT_TOKEN' }
});

Events: join_conversation, send_message, typing, stop_typing, mark_read