Skip to content

🎯 AI-Powered Adaptive Mock Interview Simulator An intelligent interview preparation platform that simulates real-world technical interviews using AI. The system dynamically adapts questions based on user performance, evaluates responses, and provides structured feedback to improve interview readiness.

Notifications You must be signed in to change notification settings

arvind00A/AI-Powered-Adaptive-Mock-Interview-Simulator

Folders and files

NameName
Last commit message
Last commit date

Latest commit

Β 

History

1 Commit
Β 
Β 
Β 
Β 
Β 
Β 

Repository files navigation

AI-Powered Adaptive Mock Interview Simulator

A real-time AI-driven mock interview platform for technical roles. Users select role, difficulty, interview type, and duration. The AI conducts a timed adaptive interview with dynamic questions and at least one intelligent follow-up per session.

Tech Stack

  • Backend: .NET 8 Web API, Entity Framework Core, SQL Server, OpenAI/OpenRouter API
  • Frontend: React 19 + Vite 7 + TypeScript

Features

  • Role + difficulty + interview type + duration selection
  • Timed interview session with live countdown
  • AI-generated questions that adapt to answer quality
  • At least one intelligent follow-up per session
  • Progress tracking (Question X of Y)
  • Performance report with overall score (0–100), 3 strengths, 3 improvement areas, 2 improved sample answers, suggested next topics
  • Session history stored in SQL Server

Setup

Prerequisites

  • .NET 8 SDK
  • Node.js 18+
  • SQL Server or LocalDB (Windows)
  • OpenAI or OpenRouter API key

Backend

cd backend

# OpenRouter (recommended - supports 400+ models):
# Windows (PowerShell):
$env:OPENROUTER_API_KEY = "sk-or-v1-your-key"

# Or add to appsettings.json:
# "OpenRouter": { "ApiKey": "sk-or-v1-your-key", "Model": "openai/gpt-4o-mini" }

# OpenAI direct (alternative):
$env:OPENAI_API_KEY = "sk-your-key"

dotnet run

OpenRouter config (in appsettings.json): OpenRouter:ApiKey, OpenRouter:BaseUrl (default: https://openrouter.ai/api/v1), OpenRouter:Model (e.g. openai/gpt-4o-mini, google/gemini-pro). OpenRouter is used if OpenRouter:ApiKey is set; otherwise OpenAI is used.

SQL Server connection: Default uses LocalDB ((localdb)\\mssqllocaldb). For full SQL Server, set in appsettings.json:

"DefaultConnection": "Server=localhost;Database=InterviewSimulator;User Id=sa;Password=YourPassword;TrustServerCertificate=True;"

Backend runs at http://localhost:5018.

Frontend

cd frontend
npm install
npm run dev

Frontend runs at http://localhost:5173 with API proxy to the backend.

Run Both

  1. Start backend: cd backend && dotnet run
  2. Start frontend: cd frontend && npm run dev
  3. Open http://localhost:5173

API Endpoints

Method Endpoint Description
POST /api/interview/start Start new interview session
GET /api/interview/{id}/state Get current interview state
POST /api/interview/{id}/answer Submit answer, get next question
GET /api/interview/{id}/report Get performance report
GET /api/interview/history List past sessions

Project Structure

Vibe-A-Thon/
β”œβ”€β”€ backend/                 # .NET 8 Web API
β”‚   β”œβ”€β”€ Controllers/         # Interview API
β”‚   β”œβ”€β”€ Data/                # EF DbContext
β”‚   β”œβ”€β”€ DTOs/                # Request/Response models
β”‚   β”œβ”€β”€ Models/              # Entity models
β”‚   └── Services/            # AI + session logic
β”œβ”€β”€ frontend/                # React + Vite
β”‚   └── src/
β”‚       β”œβ”€β”€ api/             # API client
β”‚       └── pages/           # Setup, Interview, Report, History
└── README.md

About

🎯 AI-Powered Adaptive Mock Interview Simulator An intelligent interview preparation platform that simulates real-world technical interviews using AI. The system dynamically adapts questions based on user performance, evaluates responses, and provides structured feedback to improve interview readiness.

Topics

Resources

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published