Minimal backend API for support tickets.
- Docker
- Docker Compose
This project uses these ports by default:
- App (Laravel):
8088→http://localhost:8088 - MySQL:
3309(host) →3306(container)
If you want to change ports — edit docker-compose.yml.
docker compose up -d --buildmake installmake queueBase URL: http://localhost:8088
curl -X POST "http://localhost:8088/api/tickets" \
-H "Content-Type: application/json" \
-d '{
"title": "Payment failed",
"description": "I tried to pay with my card but the transaction fails with an error. Please help."
}'curl "http://localhost:8088/api/tickets/1"make bashmake testmake queuemake installAdd these variables to your .env file (each on its own line):
AI_DRIVER=openai
OPENAI_API_KEY=sk-...your-key-here...
OPENAI_MODEL=gpt-4o-miniIf you changed service name for DB in docker-compose.yml, ensure .env has:
DB_HOST=ssts_db