All work

PrepMaster.ai · Education

Practice questions in seconds.

Students pick a subject, topic and difficulty, answer questions, get instant feedback and see what needs more work.

Where it stands
Controlled prototype with test users
My part
Owned the full product, from the student screens to the AI.
Wait for a set of questions
3.1s → 1.2s
Requests served from saved questions
68%
Fewer paid AI requests
42%
Uptime in testing cycles
99%

The problem

A three-second wait feels broken to a student.

Students expect near-instant feedback, but writing fresh questions on every request caused delays.

It also meant costs rose with every use, while difficulty varied with how a request was phrased.

What changes

Flip the switch to see the difference.

  • Every request written from scratch.

  • 3.1 seconds to see questions.

  • Difficulty varied with the wording.

What I built

  • Choose what to practise

    Subject, topic and difficulty.

  • Questions in seconds

    A fresh or saved set appears quickly.

  • Instant feedback

    See what was right and retry the rest.

  • Progress history

    Topics that need more work stand out.

Choices that mattered

Pick one to see the thinking behind it.

Why it mattered

Many students ask for the same subject, topic and difficulty.

The result

The wait fell from 3.1s to 1.2s and costs stayed predictable.

What I would do differently

Measure everything from day one.

Generation worked, but it was hard to see where delays came from or whether quality slipped on unusual topics. Early monitoring would have turned guesswork into evidence.

Under the hoodArchitecture and technology, for your technical team.
  • Next.js
  • TypeScript
  • Node.js
  • Express
  • PostgreSQL
  • Redis
  • Claude API
  • Tailwind CSS
Student / BrowserWeb InterfaceNext.js FrontendTypeScript · TailwindCSS · App RouterRESTNode.js / Express APIAuth · Routing · Cache lookup · Prompt builderPostgreSQLUsers · Progress · SessionsRedis CacheQuestion sets · TTL-keyedcache missClaude APIQuestion generation · Structured prompts

Generation pipeline

Claude API writes questions from structured prompts. There is no retrieval pipeline.

  1. 1A student chooses subject, topic and difficulty
  2. 2The API hashes those choices and checks Redis
  3. 3Cache hit: stored questions are returned immediately
  4. 4Cache miss: a structured prompt is sent to the Claude API
  5. 5New questions are cached with an expiry and returned
  6. 6Answers are checked against those stored in PostgreSQL

System prompt (simplified)

You are an educational assistant that generates practice questions.

Generate questions based on the specified subject, topic, and difficulty level.

Ensure questions are clear, relevant, and appropriate for the learner.

Provide concise explanations where necessary.

Engineering decisions

  • Redis caching keyed by a hash of subject, topic and difficulty
  • Content generation runs as an independent service
  • A fixed prompt schema with explicit parameters
Next: TutaThe right tutor, in 48 hours.

Now accepting projects for Q1 2027

Let's make your value obvious.

Tell me what you are building. We will start with a free 30-minute scoping call.