Skip to content

Janviswa/TicketFlow

Repository files navigation

🎫 TicketFlow

AI-Powered IT Service Desk & Incident Management Platform

Modern AI-Powered Ticket Management System built with Next.js, FastAPI, PostgreSQL, Docker, Groq & ChromaDB.


πŸŽ₯ Project Demo

Watch Demo

β–Ά Click the thumbnail above to watch the full demo.


πŸš€ Features

🎫 Smart Ticket Management

  • Create and manage support tickets
  • Ticket lifecycle tracking
  • Priority & category management
  • SLA monitoring
  • Status-based workflows

πŸ€– AI-Powered Features

  • Automatic ticket classification
  • AI ticket summarization
  • Risk analysis and scoring
  • Suggested ticket responses
  • Intelligent routing recommendations

πŸ“š Knowledge Base

  • Semantic search using embeddings
  • ChromaDB vector storage
  • AI-assisted document retrieval
  • Internal support documentation

πŸ‘₯ User & Role Management

  • Admin dashboard
  • Support agents
  • Employees
  • Department-based ticket routing

πŸ“Š Analytics Dashboard

  • Ticket trends
  • Resolution metrics
  • SLA performance
  • Department statistics

πŸ—οΈ Architecture

Frontend (Next.js)
        β”‚
        β–Ό
Backend API (FastAPI)
        β”‚
 β”Œβ”€β”€β”€β”€β”€β”€β”Όβ”€β”€β”€β”€β”€β”€β”
 β–Ό      β–Ό      β–Ό
Postgres Redis ChromaDB
                β”‚
                β–Ό
          Groq API

πŸ› οΈ Tech Stack

πŸ–₯️ Frontend

  • Next.js 16
  • React
  • TypeScript
  • Tailwind CSS

βš™οΈ Backend

  • FastAPI
  • SQLAlchemy
  • Alembic
  • PostgreSQL

🧠 AI Layer

  • Groq API
  • ChromaDB
  • Sentence Transformers

🐳 Infrastructure

  • Docker
  • Docker Compose
  • Redis

🐳 Docker Deployment

Clone Repository

git clone https://github.com/Janviswa/TicketFlow.git
cd TicketFlow

Build Containers

docker compose build

Start Application

docker compose up

Run In Background

docker compose up -d

Stop Containers

docker compose down

πŸ“¦ Docker Services

Service Port
Frontend 3000
Backend 8000
PostgreSQL 5432
Redis 6379
Groq API -

🌐 Access URLs

Frontend

http://localhost:3000

Backend API

http://localhost:8000

Swagger Documentation

http://localhost:8000/docs

πŸ“ Project Structure

TicketFlow
β”‚
β”œβ”€β”€ app/
β”œβ”€β”€ components/
β”œβ”€β”€ public/
β”œβ”€β”€ backend/
β”‚   β”œβ”€β”€ api/
β”‚   β”œβ”€β”€ models/
β”‚   β”œβ”€β”€ services/
β”‚   β”œβ”€β”€ vector_store/
β”‚   └── main.py
β”‚
β”œβ”€β”€ database/
β”œβ”€β”€ docker-compose.yml
β”œβ”€β”€ Dockerfile.frontend
β”œβ”€β”€ README.md
└── .env.example

πŸ“š Knowledge Base

The system includes a vector-powered knowledge base containing:

  • Password Reset Guides
  • VPN Setup Documentation
  • Email Troubleshooting
  • Security Policies
  • Incident Response Procedures
  • AWS & Azure Documentation
  • Change Management Guides
  • Employee Onboarding Documentation

All documents are embedded and stored in ChromaDB for semantic search and AI retrieval.


πŸ”’ Environment Variables

POSTGRES_PASSWORD=your_password
REDIS_PASSWORD=your_password
SECRET_KEY=your_secret_key
GROQ_API_KEY=your_api_key

✨ Future Enhancements

  • Email-to-Ticket Integration
  • Slack Integration
  • Microsoft Teams Integration
  • Single Sign-On (SSO)
  • Real-Time Notifications
  • Multi-Tenant Support
  • Advanced AI Workflows

πŸ‘©β€πŸ’» Author

Janani V

B.Tech Artificial Intelligence & Data Science

Gmail LinkedIn GitHub


⭐ If you found this project useful, consider giving it a star.

About

AI-powered IT ticket management platform with automated classification, priority prediction, risk assessment, sentiment analysis, and intelligent routing using FastAPI, LLMs, and RAG.

Topics

Resources

Stars

0 stars

Watchers

0 watching

Forks

Releases

No releases published

Packages

 
 
 

Contributors