{"id":51129977,"url":"https://github.com/osisdie/codedrill-mock-interview","last_synced_at":"2026-06-25T11:01:33.225Z","repository":{"id":338241137,"uuid":"1156928631","full_name":"osisdie/codedrill-mock-interview","owner":"osisdie","description":"AI-powered coding practice platform with mock interviews. Solve problems, run code in a sandbox, and get scored feedback from an AI interviewer.","archived":false,"fork":false,"pushed_at":"2026-03-24T00:33:40.000Z","size":2677,"stargazers_count":0,"open_issues_count":0,"forks_count":0,"subscribers_count":0,"default_branch":"main","last_synced_at":"2026-03-24T22:24:48.582Z","etag":null,"topics":["ai","coding-practice","docker","fastapi","leetcode","mock-interview","monaco-editor","openrouter","pinia","playwright","python","tailwindcss","typescript","vite","vue"],"latest_commit_sha":null,"homepage":"","language":"Vue","has_issues":true,"has_wiki":null,"has_pages":null,"mirror_url":null,"source_name":null,"license":"mit","status":null,"scm":"git","pull_requests_enabled":true,"icon_url":"https://github.com/osisdie.png","metadata":{"files":{"readme":"README.md","changelog":"CHANGELOG.md","contributing":"CONTRIBUTING.md","funding":null,"license":"LICENSE","code_of_conduct":"CODE_OF_CONDUCT.md","threat_model":null,"audit":null,"citation":null,"codeowners":null,"security":"SECURITY.md","support":null,"governance":null,"roadmap":null,"authors":null,"dei":null,"publiccode":null,"codemeta":null,"zenodo":null,"notice":null,"maintainers":null,"copyright":null,"agents":null,"dco":null,"cla":null}},"created_at":"2026-02-13T08:09:53.000Z","updated_at":"2026-03-24T00:33:36.000Z","dependencies_parsed_at":null,"dependency_job_id":null,"html_url":"https://github.com/osisdie/codedrill-mock-interview","commit_stats":null,"previous_names":["osisdie/codedrill-mock-interview"],"tags_count":0,"template":false,"template_full_name":null,"purl":"pkg:github/osisdie/codedrill-mock-interview","repository_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/osisdie%2Fcodedrill-mock-interview","tags_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/osisdie%2Fcodedrill-mock-interview/tags","releases_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/osisdie%2Fcodedrill-mock-interview/releases","manifests_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/osisdie%2Fcodedrill-mock-interview/manifests","owner_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/owners/osisdie","download_url":"https://codeload.github.com/osisdie/codedrill-mock-interview/tar.gz/refs/heads/main","sbom_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/osisdie%2Fcodedrill-mock-interview/sbom","scorecard":null,"host":{"name":"GitHub","url":"https://github.com","kind":"github","repositories_count":286080680,"owners_count":34771664,"icon_url":"https://github.com/github.png","version":null,"created_at":"2022-05-30T11:31:42.601Z","updated_at":"2026-05-26T15:22:16.424Z","status":"online","status_checked_at":"2026-06-25T02:00:05.521Z","response_time":101,"last_error":null,"robots_txt_status":"success","robots_txt_updated_at":"2025-07-24T06:49:26.215Z","robots_txt_url":"https://github.com/robots.txt","online":true,"can_crawl_api":true,"host_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub","repositories_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories","repository_names_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repository_names","owners_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/owners"}},"keywords":["ai","coding-practice","docker","fastapi","leetcode","mock-interview","monaco-editor","openrouter","pinia","playwright","python","tailwindcss","typescript","vite","vue"],"created_at":"2026-06-25T11:01:31.817Z","updated_at":"2026-06-25T11:01:33.220Z","avatar_url":"https://github.com/osisdie.png","language":"Vue","funding_links":[],"categories":[],"sub_categories":[],"readme":"# CodeDrill — AI Mock Interview Platform\n\n[![CI](https://github.com/osisdie/codedrill-mock-interview/actions/workflows/deploy-pages.yml/badge.svg)](https://github.com/osisdie/codedrill-mock-interview/actions)\n[![License: MIT](https://img.shields.io/badge/License-MIT-blue.svg)](LICENSE)\n[![Python 3.12+](https://img.shields.io/badge/python-3.12%2B-blue)](https://www.python.org/)\n[![Vue 3](https://img.shields.io/badge/Vue-3-4FC08D?logo=vue.js)](https://vuejs.org/)\n[![Docker](https://img.shields.io/badge/Docker-ready-2496ED?logo=docker)](docker-compose.yml)\n\nPractice coding problems, get AI-powered mock interviews, and receive scored feedback — all in one platform.\n\n\u003e **[Live Demo](https://osisdie.github.io/codedrill-mock-interview/)** — Try it instantly in your browser (no setup required). Code execution and AI features require the full local version.\n\n## Preview\n\nScreenshots of the main workflow: home → problems → coding arena → test results → session history. API docs available at `/docs`.\n\n| Home — Pick a category | Problems — Browse \u0026 filter |\n|:---:|:---:|\n| ![Home](docs/screenshots/mock-interview-home.png) | ![Problems](docs/screenshots/mock-interview-problems.png) |\n\n| Coding Arena — Write \u0026 run code | Test Results — Submit \u0026 start interview |\n|:---:|:---:|\n| ![Coding Arena](docs/screenshots/mock-interview-exam.png) | ![Test Results](docs/screenshots/mock-interview-platform.png) |\n\n| Session History | API Documentation |\n|:---:|:---:|\n| ![History](docs/screenshots/mock-interview-history.png) | ![API](docs/screenshots/mock-interview-api.png) |\n\n### New: Show Answer, Code Chat \u0026 Ask AI\n\n| Show Answer — AI types the solution | Chat Panel — Ask questions about code |\n|:---:|:---:|\n| ![Show Answer](docs/screenshots/feature-show-answer.png) | ![Chat Panel](docs/screenshots/feature-chat-panel.png) |\n\n| Chat Conversation — AI explains approaches | Ask AI — Select code for explanation |\n|:---:|:---:|\n| ![Chat Conversation](docs/screenshots/feature-chat-conversation.png) | ![Ask AI](docs/screenshots/feature-ask-ai-selection.png) |\n\n## Features\n\n- **73 Coding Problems** — Algorithms, FastAPI, Django, Pytest, and Python problems with automated test cases\n- **Python Sandbox** — Secure, isolated code execution for your solutions\n- **AI Mock Interview** — Senior technical interviewer powered by LLM (OpenRouter)\n- **Scored Feedback** — Detailed evaluation of your code and interview performance\n- **Show Answer** — AI-generated solutions typed out character by character with block-aware pacing\n- **Code Chat** — In-editor AI chatroom to ask questions about the problem or your code\n- **Ask AI** — Select any code block in the editor and ask AI for an explanation\n\n## Tech Stack\n\n| Layer   | Stack                          |\n|---------|---------------------------------|\n| Backend | FastAPI, Python 3.x             |\n| Frontend| Vue 3, Vite, Tailwind CSS, Monaco Editor |\n| AI      | OpenRouter (Claude)             |\n| E2E Test| Playwright                     |\n\n## Getting Started\n\n### Prerequisites\n\n- Python 3.12+\n- Node.js 18+ with [pnpm](https://pnpm.io/) (`corepack enable \u0026\u0026 corepack prepare pnpm@latest --activate`)\n- [OpenRouter](https://openrouter.ai/) API key\n\n### Installation\n\n```bash\n# Clone the repo\ngit clone https://github.com/osisdie/codedrill-mock-interview.git\ncd codedrill-mock-interview\n\n# Install dependencies\nmake install\n```\n\n### Configuration\n\n1. Copy the example env file and add your API key:\n\n   ```bash\n   cp backend/.env.example backend/.env\n   ```\n\n2. Edit `backend/.env`:\n\n   ```\n   OPENROUTER_API_KEY=your-openrouter-api-key-here\n   ```\n\n3. (Optional) Frontend API base URL — edit `frontend/.env.example` if needed:\n\n   ```\n   VITE_API_BASE_URL=http://localhost:8573\n   ```\n\n### Run\n\n```bash\n# Terminal 1 — backend\nmake dev-backend\n\n# Terminal 2 — frontend\nmake dev-frontend\n```\n\n- Backend: http://localhost:8573\n- Frontend: http://localhost:5573\n- API docs: http://localhost:8573/docs\n\n**Docker** (`make up`): Same URLs — backend 8573, frontend 5573.\n\n## Project Structure\n\n```\ncodedrill-mock-interview/\n├── backend/           # FastAPI app\n│   ├── app/\n│   │   ├── routers/   # API routes (problems, sessions, execution, interview, scoring)\n│   │   ├── services/  # AI, executor, scoring, session logic\n│   │   ├── sandbox/   # Code execution sandbox\n│   │   └── data/      # Problem definitions (JSON)\n│   └── main.py\n├── frontend/          # Vue 3 SPA\n│   ├── src/\n│   │   └── demo/      # Demo mode mock layer (GitHub Pages)\n│   └── e2e/           # Playwright E2E tests\n├── scripts/           # Start/generate scripts\n└── docs/\n```\n\n## Ports\n\n| Service  | Host  | Container (Docker) |\n|----------|-------|--------------------|\n| Backend  | 8573  | 8000               |\n| Frontend | 5573  | 5173               |\n\n## Environment Variables\n\n| Variable           | Description                          | Default |\n|--------------------|--------------------------------------|---------|\n| `OPENROUTER_API_KEY` | OpenRouter API key (required for AI) | —       |\n| `OPENROUTER_MODEL` | Model to use                         | `anthropic/claude-sonnet-4-20250514` |\n| `CORS_ORIGINS`     | Allowed CORS origins (frontend URL)   | `[\"http://localhost:5573\"]` |\n| `SANDBOX_TIMEOUT`  | Code execution timeout (seconds)    | `10`    |\n| `SANDBOX_MAX_MEMORY_MB` | Max memory per run (MB)         | `256`   |\n\n## Roadmap\n\n- [ ] JavaScript / TypeScript problems\n- [ ] Real-time collaborative interviews\n- [ ] Difficulty rating system\n- [ ] Multi-language execution (Go, Java, Rust)\n\n## Contributing\n\nSee [CONTRIBUTING.md](CONTRIBUTING.md) for guidelines.\n\n## License\n\n[MIT](LICENSE)\n","project_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Fosisdie%2Fcodedrill-mock-interview","html_url":"https://awesome.ecosyste.ms/projects/github.com%2Fosisdie%2Fcodedrill-mock-interview","lists_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Fosisdie%2Fcodedrill-mock-interview/lists"}