A modern full-stack Ticketing System built using:
This project allows users to submit support tickets and agents/admins to manage and resolve them. Enhanced with Inngest AI, it helps automate replies, categorize tickets, and generate summaries.
ticketing-system/
├── client/ # Frontend (React + Vite)
└── server/ # Backend (Hono + Bun + Inngest + MongoDB)
- Ticket creation, update, and deletion
- User authentication and session handling
- Role-based access control: User / Agent / Admin
- Ticket status: Open, In Progress, Resolved
- Real-time updates and management
- Auto-categorize new tickets
- Suggest smart replies for agents
- Summarize ticket conversations
Layer | Stack |
---|---|
Frontend | React, Vite, JavaScript |
Backend | Hono (Bun), MongoDB |
AI Layer | Inngest Agentic Workflows |
Database | MongoDB Atlas or local MongoDB |
git clone https://github.com/anmol420/TicketSystem.git
cd ticketing-system
cd server
bun install
cp .env.example .env
# Edit .env with your MongoDB and Inngest keys
bun run dev
cd ../client
npm install
npm run dev
Then open your browser at: http://localhost:5173
Create a .env
file inside the server/
directory and follow the template in .env.example
:
Method | Endpoint | Description |
---|---|---|
POST | /api/tickets |
Create a new ticket |
GET | /api/tickets |
Get all tickets |
GET | /api/tickets/:id |
Get ticket by ID |
Inngest workflows are triggered on ticket events like creation and messages.