HawkWatch is an online examination and proctoring prototype. It brings exam delivery, identity checks, and live session review into one interface. Proctors can review camera and browser signals alongside exam activity.
| Component | Responsibilities |
|---|---|
| React frontend | Exam management and delivery, pre-exam verification, live monitoring, and results |
| Express backend | Authentication, exam and proctoring APIs, Socket.IO events, and MongoDB persistence |
| FastAPI service | Python-based frame analysis and proctoring signals |
Use Node.js 18 or newer, Python 3.11, and a MongoDB development database. Copy the backend environment template to backend/.env and configure the database, JWT secrets, and integration credentials for the features you plan to use.
Start the backend and frontend in separate terminals.
cd backend
npm ci
npm run devcd frontend
npm ci
npm run devOpen localhost:5173. The Vite development server proxies API and socket traffic to the backend on port 5000.
To run the Python analysis service locally, activate a Python virtual environment and start Uvicorn in a separate terminal.
cd ai-service
python -m pip install -r requirements.txt
python -m uvicorn main:app --port 8000Set the API service address using AI_SERVICE_URL in the backend configuration.