DevReps
Interview practice, live JavaScript tracing, and interactive CS labs on mobile
· Jul – Nov 2026 · React Native · Expo SDK 58 · TypeScript · AI Mentor
Quick walkthrough of DevReps: JS output puzzles, live tracing, CS labs, and interview practice.
Recorded DemoWhat It Does
DevReps is a React Native app paired with an Express and PostgreSQL API, built to make daily technical interview prep feel active instead of passive. You can predict what tricky JavaScript snippets output, step through execution line by line, test how data structures behave in interactive labs, and get scored Gemini feedback on practice interview answers.
Scored Interview Practice
Choose React, Node, JavaScript, SQL, or HR at your target difficulty, type an answer, and get a score with rubric notes and past attempt history.
JavaScript Output & Live Trace
Solve nine JavaScript output puzzles across three difficulty tiers and step through how each line runs without using any AI calls.
Interactive CS Labs
Lift plates in Stacks (LIFO), run a Printer Queue, insert nodes into Linked Lists, watch Recursion frames unwind, traverse Trees, and fill Dynamic Programming tables.
AI Mentor & Saved Drafts
Ask follow-up coding questions, pick up old Mentor threads, track streaks, and keep your typed answers safe if your connection drops.
Trade-Offs & Decisions
01 · Problem
Sending every small coding drill to an external LLM slows things down, burns through API quota, and stops working the moment you go offline.
02 · Approach
I kept all 9 JavaScript puzzles and the interactive CS labs offline inside the mobile app with Expo SecureStore, and put Gemini interview scoring and Mentor chat behind a separate Express + Prisma API that saves drafts if a request fails or hits a 429 rate limit.
03 · Outcome
Tracing and CS labs respond instantly with zero network calls, while interview attempts, streaks, and chat history stay synced in Postgres and covered by automated tests on both repos.
Architecture & Build
- Mobile app (devreps-mobile): Expo SDK 58, React Native 0.88.1, React 19.3, TypeScript, TanStack Query, Zustand, and React Hook Form + Zod.
- Code organized by feature under src/features/, navigation stacks and tabs in src/app/navigation/, and auth tokens stored in Expo SecureStore.
- Backend API (devreps-api): Express + TypeScript with PostgreSQL, Prisma, JWT auth, and route modules under src/modules/ (auth, practice, attempts, streak, chat).
- Gemini handles answer grading and chat with HTTP 429 rate-limit handling, backed by mocked Prisma/Gemini tests and GitHub Actions CI.
Tech Stack
- React Native
- Expo SDK 58
- TypeScript
- Express
- PostgreSQL
- Prisma
- TanStack Query
- Zustand
- Zod
- Gemini API
Workflow & Commands
npm ci && npm startnpm run checknpm run db:migrate && npm run devYefhamak (يفهمك)