Support System
DevDesk API
DevDesk API provides the backend primitives for a support-ticket product: inquiry creation, triage, assignment, and status reporting.
Status
Beta
Stack
Node.js, Express, MongoDB
Throughput / Users
120+
Performance
92/100
System Architecture & Problem Statement
Architecture Layers:
Key Product Features
Database Entity Schema & Relationships
Tickets
Collection/Table→ Contains many notes
Notes
Collection/Table→ Belongs to tickets
Agents
Collection/Table→ Assigned to tickets
API Specifications & Endpoints
/api/ticketsCreate a new inquiry ticket.
/api/tickets?status=openFetch a filtered support queue.
/api/tickets/:id/assignAssign an agent and append an audit event.
Interactive Visual Screenshots & Previews
POST /api/v1/resource/dispatch
"status": "success",
"executionTime": "14ms",
"payload": { "assignedAgent": "Nurul-Bot-01" }
}
Operational queue organized by priority, type, and owner.
POST /api/v1/resource/dispatch
"status": "success",
"executionTime": "14ms",
"payload": { "assignedAgent": "Nurul-Bot-01" }
}
Endpoint explorer with request and response examples.
🚀 Quick Start & Process to Run
Prerequisites
- Node.js 18+
- MongoDB
Required Environment Variables (.env)
PORT=5000
MONGO_URI=mongodb://localhost:27017/devdesk
JWT_SECRET=devdesksecret
Execution Steps:
1. Clone Repository
Download API project codebase.
2. Install Packages
Install Express, Mongoose, JsonWebToken, and Cors.
3. Start API Server
Start Node.js server on http://localhost:5000.