An intelligent ticket management system powered by AI that automatically processes, categorizes, and responds to support tickets.
If you have Docker installed, you can start both backend and frontend services with a single command:
- Copy
.env.exampleto.env - Fill in required API keys and database configuration
docker-compose up --buildThis will:
- Build and start the backend API server
- Build and start the frontend development server
- Set up all necessary dependencies (database and sample data)
If you prefer to run the services individually or don't have Docker:
-
Navigate to backend directory
cd backend -
Install Python dependencies
pip install -r requirements.txt
-
Configure environment
- Copy
.env.exampleto.env - Fill in required API keys and database configuration
- Copy
-
Run setup script
python setup.py
-
Start the API server
python run_api.py
Backend will be available at: http://localhost:8000
-
Navigate to frontend directory
cd frontend -
Install Node.js dependencies
pnpm install
(or use
npm installif you don't have pnpm) -
Configure environment
- Copy
.env.exampleto.env.local - Set
VITE_API_BASE_URL=http://localhost:8000
- Copy
-
Start the development server
pnpm dev
Frontend will be available at: http://localhost:5173
- Docker and Docker Compose
- Backend: Python 3.12+, TiDB database, API keys (OpenAI/OpenRouter, Jina AI, etc.)
- Frontend: Node.js 22+, pnpm (recommended) or npm
- Backend Documentation: See
backend/README.mdfor detailed API documentation and configuration - Frontend Documentation: See
frontend/README.mdfor UI components and development guidelines
- Backend: FastAPI-based REST API with AI agent processing
- Frontend: React + TypeScript with modern UI components
- Database: TiDB for scalable data storage
- AI Services: Integration with OpenAI/OpenRouter and Jina AI
Contributions are welcome! Please read the individual README files in the backend/ and frontend/ directories for specific development guidelines.