TutorLoom
기업·대학·교육기관을 위한 학습 플랫폼, 무료 오픈소스이며 엔터프라이즈 버전 제공
역할 선택 후 실전 질문에 답하면 AI가 즉시 피드백과 명료성·구조·내용 점수를 제공
Mock technical interviews with instant AI feedback. Pick a role, answer real questions, and get scored on clarity, structure, and content.
교육JavaScript · TypeScriptGitHub @Khizar-Islam온라인운영자 미확인
써 보셨어요? 한 번만 눌러 주세요. 로그인은 필요 없어요.
아직 감지된 업데이트가 없습니다. GitHub 릴리스가 나오면 여기에 보입니다.
개인 계정의 공개 저장소 소유자는 GitHub로 로그인해 운영자를 확인하고 소개를 직접 관리할 수 있습니다. 관리자 승인은 필요하지 않습니다.
로그인한 뒤 확인 파일을 만들어 이 저장소의 기본 브랜치에 30분 안에 커밋해 주세요. 다른 브랜치나 포크의 파일은 인정하지 않습니다. 파일을 올린 뒤 아래에서 확인하면 관리자 승인 없이 관리할 수 있습니다. 자격을 유지하려면 파일을 남겨 두세요.
로그인이 필요하면 로그인 화면으로 이동합니다. 로그인 후 이곳으로 돌아와 원하는 확인 버튼을 다시 눌러 주세요.
프로젝트 폴더에서 /nomorevibe verify를 실행하면 소유권을 확인하고 소개를 직접 관리할 수 있습니다.
1분 만에 확인하기메이커가 쓴 소개는 위의 한 줄이 전부입니다. 더 자세한 내용은 저장소 README에서 읽을 수 있습니다. 저장소 README ↗
README 전체를 불러오는 중입니다.
README 전문 보기 ↗Practice for a job interview with an AI interviewer. Pick a role and experience level, answer five generated questions, and get live-streamed feedback with scores on each answer.
Live demo: https://interview-prep-platform-xy36.vercel.app
The API runs on a free host, so the first request after a quiet period can take up to a minute. Sign-in is Google only.
GET /api/api-token) and sends it as Authorization: Bearer <token>. The API verifies it (HS256, issuer and audience pinned, expiry) and takes the user id only from the token.InterviewSession (mapped to the sessions table) so it doesn't clash with NextAuth's Session.| Layer | Tools |
|---|---|
| Frontend | Next.js (App Router), TypeScript, Tailwind CSS, Framer Motion |
| Auth | NextAuth with Google OAuth and the Prisma adapter |
| Backend | Node.js, Express |
| Database | PostgreSQL (Neon), Prisma |
| AI | Google Gemini |
| Hosting | Vercel (web), Render (API) |
backend/ Express API: sessions, answers, Gemini service, rate limiters
frontend/ Next.js app: home, new interview, interview page, dashboard
All routes except /health need Authorization: Bearer <token>.
| Method | Path | What it does |
|---|---|---|
| GET | /health | Health check |
| GET | /api/sessions | Your sessions, newest first (replaces /api/sessions/user/:userId) |
| GET | /api/sessions/:id | One session with questions and answers |
| POST | /api/sessions | Create a session: { role, experienceLevel } |
| PATCH | /api/sessions/:id/complete | Finish a session: { overallScore } |
| DELETE | /api/sessions/:id | Delete a session |
| POST | /api/answers | Submit an answer, feedback streams back: { questionId, answerText } |
backend/, create .env with DATABASE_URL, GEMINI_API_KEY, API_AUTH_SECRET, FRONTEND_ORIGIN and PORT. Then run npm install, npx prisma migrate dev and npm run dev.frontend/, create .env.local with DATABASE_URL, GOOGLE_CLIENT_ID, GOOGLE_CLIENT_SECRET, AUTH_SECRET, NEXT_PUBLIC_API_URL and API_AUTH_SECRET. Then run npm install and npm run dev.Both folders have a .env.example listing these variables.
| Variable | Where | What it is for |
|---|---|---|
DATABASE_URL | both | Postgres connection string |
GEMINI_API_KEY | backend | Gemini API key |
GEMINI_MODEL | backend | Optional. Gemini model for questions and feedback, default gemini-3.6-flash. Empty or blank uses the default |
GEMINI_FALLBACK_MODEL | backend | Optional. Tried when the main model is overloaded (503), out of quota (429) or times out, default gemini-3.5-flash-lite. Empty or blank uses the default |
API_AUTH_SECRET | both | Signs (web) and verifies (API) the sign-in tokens |
FRONTEND_ORIGIN | backend | Web app URLs allowed by CORS, comma-separated, no trailing slash |
PORT | backend | API port, default 5000 |
TRUST_PROXY_HOPS | backend | Number of proxies in front of the API in production, 1 to 5, default 1. On Render it must be 3 (measured: visitor, Cloudflare, Render proxy); a wrong value makes every visitor share one IP counter |
GOOGLE_CLIENT_ID, GOOGLE_CLIENT_SECRET | frontend | Google sign-in |
AUTH_SECRET | frontend | NextAuth secret (NEXTAUTH_SECRET also works) |
NEXT_PUBLIC_API_URL | frontend | API URL |
API_AUTH_SECRET must be the same on both sides, at least 32 characters, different from the NextAuth secret, and never prefixed with NEXT_PUBLIC_. The API won't start without it or FRONTEND_ORIGIN. To generate one: node -e "console.log(require('crypto').randomBytes(36).toString('base64url'))"
To run the auth tests, create a separate database branch (Neon: Branches, Create branch from your default branch), set it as TEST_DATABASE_URL in backend/.env, and run npm run test:auth in backend/. They check that missing or bad tokens get 401 and that one user can't read, change, delete or answer in another user's session. The script refuses to run if TEST_DATABASE_URL is the same as DATABASE_URL or on the same host.
npm run test:config, npm run test:ratelimit, npm run test:model and npm run test:retry in backend/ need no database and never call Gemini.
Deploy the API (Render) first, then the web app (Vercel), with the same API_AUTH_SECRET on both and the Vercel URL in FRONTEND_ORIGIN. The new API closes the security hole on its own, and the new web app only works with it because it sends a token instead of a user id. Until the web app is redeployed, the old one gets 401 errors.
Khizar Islam Rathore, Software Engineering student at the University of Karachi. GitHub: github.com/Khizar-Islam | LinkedIn: linkedin.com/in/khizar-islam-rathore