Eggi Satria Logo
Back to blog

MeGA: Mindset-based e-Guidance and Analysis Platform for Schools

September 8, 20262 min read18 views
EducationNext.jsPlatformMindsetCounseling

MeGA: Mindset-based e-Guidance and Analysis Platform

From reactive counseling to early, measurable mindset growth in schools.


Why MeGA exists

School counselors often meet students only after problems surface. MeGA flips that: onboarding, mindset assessment, guidance modules, daily check-in, an Early Warning System (EWS), counseling booking and sessions, plus a progress tracker — in one platform.

Who it serves

5 roles: STUDENT, COUNSELOR, SCHOOL_ADMIN, SUPER_ADMIN, and PARENT. Students reflect and learn, counselors triage and intervene, admins govern, parents stay informed.

Key journeys

  • Onboarding — role-aware setup for schools
  • Mindset assessment — baseline and growth measurement
  • Guidance modules — structured learning content
  • Daily check-in — lightweight pulse for wellbeing
  • Early Warning System (EWS) — flags at-risk students early
  • Counseling booking and sessions — from request to follow-up
  • Progress tracker — visible growth over time

Architecture at a glance

  • Stack: Next.js App Router, TypeScript strict, Prisma plus PostgreSQL, Better Auth, shadcn-ui plus Tailwind CSS
  • Scale: 60 pages, 12 API routes, server-actions layer
  • Local dev: Docker Postgres, Prisma migrate plus seed
  • Quality: Vitest plus Playwright plus k6, ESLint zero warnings, tsc noEmit
  • Deploy: Vercel

Tech highlights

Next.js, Prisma, Better Auth, shadcn-ui, TypeScript, PostgreSQL, Tailwind CSS — chosen for type safety, velocity, and maintainability in a school IT context.

What is next

This portfolio entry tracks the build. Follow-up posts will cover EWS scoring, assessment design, and counselor workflows.


Project: MeGA - Mindset-based e-Guidance and Analysis Platform. Repo: https://github.com/EgiStr/MeGA-portal.

Share this article:

Thanks for reading! If you found this helpful, feel free to share it.