#!/bin/bash

# Stop the assessment system

echo "Stopping assessment system..."

# Kill backend (uvicorn on port 8002)
pkill -f "uvicorn app:app.*8002" 2>/dev/null && echo "Backend stopped" || echo "Backend not running"

# Kill frontend (vite on port 5174)
pkill -f "vite.*5174" 2>/dev/null && echo "Frontend stopped" || echo "Frontend not running"

echo "Done"
