FULL-STACK / PUBLIC SOURCEPublic source · Code walkthrough

Interest & aptitude platform.
Next.js with Prisma.

A Next.js education application connecting an interactive questionnaire to a structured Prisma data model for users, schools, questions and results.

EVIDENCE TYPENext.js application prototype · Public code
TECHNOLOGYNext.js 15 · React 19 · TypeScript · Prisma
INSPECTED REVISION3575ad98d33f ↗ · 12 May 2025
INTERACTIVE PRODUCT EXPERIENCE / THREE ORIGINAL CAPTURES

A real answer changes the interface.

Rather than a static concept, this walkthrough shows the original React question components before and after an answer, plus their actual mobile layout. All questions used here are synthetic.

Inspect the tested screens ↓
Original Next.js React questionnaire before the answer selection.
01 / INPUTRead a question

The original React component renders a choice scale.

Original Next.js component after an actual answer click advances the question.
02 / INTERACTIONAdvance the flow

Actual answer click updates progress to the next question.

Original React questionnaire at a 390 pixel wide mobile viewport.
03 / RESPONSIVEAdapt to mobile

390px mobile screen from the same tested component.

ORIGINAL REACT COMPONENTS10/10 local checks recordedInspect verification record ↗
BUILD SOMETHING SIMILARNext.js questionnaire or customer-facing workflow

Questionnaires, responsive application screens and data-backed features. Start with one clearly scoped feature or milestone.

Discuss this kind of project ↗
REAL REACT COMPONENTS / INTERACTION TESTED

A questionnaire that responds.

Rendered from the original Next.js ClientTes and AnswerScale components. A local test-only page supplies four synthetic questions to verify the real selection and progression behavior.

Original source · Commit 3575ad98d33f
01 / Initial question
Original Next.js questionnaire showing the first synthetic question with the real seven-button answer scale.
Original React questionnaire and answer scale.
02 / After clicking an answer
Original React questionnaire showing the second synthetic question after clicking the answer value 2.
Progress changes when an answer is selected.
Original Next.js questionnaire rendered with test-only questions at a 390px mobile viewport. Mobile viewport · 390 px
10/10Real browser component and interaction checks passed

Original Next.js app, synthetic question fixture, real answer click and verified mobile layout.

View verification record ↗

The original components were tested locally using a temporary synthetic fixture. No real student database, student identity or backend submission was used.

01 / PROJECT CONTEXT

The use case

An assessment tool must help people move through questions with clarity while keeping the underlying information organized. The interactive React flow is the part demonstrated in the local capture; the Next.js and Prisma source provides the broader application structure for users, schools, sessions and results.

02 / HOW IT WORKS

Inside the build

Next.js loads question records through Prisma and renders an interactive React questionnaire. The data model defines users, schools, questions, sessions and scores, with middleware used for selected role-specific routes.

Question recordsReact questionnaire UIAnswer submission UIPrisma results model

Workflow overview based on the linked implementation.

03 / DIRECT CODE EVIDENCE

Explore the implementation

Explore the checked Next.js, React and Prisma implementation. The pinned Git links show how the questionnaire and data model are organized.

01 / Modern frontend stackInspect code ↗
package.json

Declares Next.js 15, React 19, TypeScript-related tooling and the Prisma client dependency.

02 / Relational data modelInspect code ↗
prisma/schema.prisma

Defines User, School, Question, Session and Result models with relations and role definitions.

03 / Server-side question loadingInspect code ↗
app/tes/page.tsx

Reads question records through Prisma and provides them to the questionnaire component.

04 / Interactive questionnaireInspect code ↗
app/tes/ClientTes.tsx

Implements a client-side question sequence, collects answers and sends a submission request to the application's API.

05 / Role-routing conceptInspect code ↗
middleware.ts

Implements JWT-based route checks for selected teacher and administrator paths.

04 / ENGINEERING HIGHLIGHTS

What the client gets from this engineering

  • Designed application entities for users, institutions, questions and session results.
  • Combined server-rendered question retrieval with client-side questionnaire interaction.
  • Worked with a TypeScript/React application and a Prisma relational schema.
05 / PROJECT STATUS

Current stage

Early-stage application prototype with public source. A deployable assessment product would require end-to-end submission testing, permission review and validation of the scoring method.

← Back to portfolioExplore all project references ↗